💾 Archived View for bbs.geminispace.org › u › stack › 5474 captured on 2023-11-04 at 16:07:07. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-09-28)
-=-=-=-=-=-=-
Re: "Metaprogramming and nForth"
Sorry, I don't mean to be a pedantic ass. This is sort of a set of implementation notes, thinking outloud.
2023-09-22 · 6 weeks ago
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:...