💾 Archived View for bbs.geminispace.org › u › stack › 5146 captured on 2023-12-28 at 16:03:48. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-14)

➡️ Next capture (2024-02-05)

🚧 View Differences

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

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

Sep 07 · 4 months ago · 👍 drh3xx, gyaradong, DocEdelgas, BBSman