💾 Archived View for bbs.geminispace.org › u › stack › 5474 captured on 2024-07-09 at 04:16:45. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-07-09)
-=-=-=-=-=-=-
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 · 10 months 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:...
💬 stack [mod] · 2 comments · 1 like · 2023-09-20 · 10 months ago