💾 Archived View for bbs.geminispace.org › u › stack › 5474 captured on 2024-05-12 at 19:00:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-10)

➡️ Next capture (2024-06-16)

-=-=-=-=-=-=-

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 · 8 months ago

Original Post

🌒 s/FORTH

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 · 8 months ago