Re:Stem, a stack-based language with metaprogramming and a C...
by klyrs on Saturday January 27, 2024 @12:08PM
(#39157374)
Oh, I don't know about that. Forth words can take control of the input stream! The ordinary parser eats space-deliminated tokens, sure, but how does the " word work? It takes over the input, and reads until it finds a terminal quote! It's wild: learning forth, you get used to RPN... but then you can implement an infix parser, and your "forth" can bootstrap a C-like language all in one source file.
[ Parent
| on HN ]
There are no comments on this comment yet.