Comment by ๐Ÿš€ stack

Re: "Metaprogramming and nForth"

In: s/FORTH

Sorry, I don't mean to be a pedantic ass. This is sort of a set of implementation notes, thinking outloud.

๐Ÿš€ stack [OP/mod]

2023-09-22 ยท 3 years ago

Original Post

๐ŸŒ’ s/FORTH

๐Ÿš€ stack: [mod]

Metaprogramming and nForth โ€” Some popular language are exactly what they are, syntactically. C, for instance, has no provisions for extending itself, other than typedef for providing names for simple or composite _data_ types. A more interesting language, like Lisp, or Forth, is designed to be extended, and is largely largely written in itself. Forth, in particular, has a very straightforward way to write code that generates code. Traditional Forth has two distinct modes of operation:...

๐Ÿ’ฌ 2 comments ยท 1 like ยท 2023-09-20 ยท 3 years ago