💾 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

View Raw

More Information

⬅️ Previous capture (2023-09-28)

➡️ Next capture (2023-11-14)

🚧 View Differences

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

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

2023-09-22 · 6 weeks 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 · 2 comments · 2023-09-20 · 6 weeks ago