💾 Archived View for bbs.geminispace.org › u › stack › 5146 captured on 2023-09-08 at 15:56:29. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-09-28)

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

When your Forth is smaller than 4K...

I had a funny realization today. Normally you work with a sizable toolchain, and are working on some code that is tiny in comparison. But when your tool is 4K, it is kind of disposable - you can attach it to every piece of source without making a dent...

I started out with trying to figure out how to boot nForth - it starts up, then loads a forth file to expand itself. But it turns out that it is easier to append the forth file to the binary - it saves the work of opening another file.

Or to put it another way, I can embed the interpreter in the script file. The overhead is negligeable.

🚀 stack

2023-09-07 · 2 days ago · 👍 drh3xx, DocEdelgas, BBSman