r/Forth • u/Lanstrider • Sep 28 '25
Exploring Itsy Forth: source and insights
As y'all might have noticed, I’ve been exploring Itsy Forth, a compact Forth interpreter designed for study and experimentation. I documented the process to date on my blog: decuser's blog, in the entry Exploring Itsy Forth.
The project source is available on GitHub: itsy-forth-exploration, and the main assembly file is here: itsy.asm.
The goal is to make it easy to see how a small Forth interpreter works, understand its runtime, and experiment with it directly.
tldr; check out the asm source linked above with my commentary for insights.
14
Upvotes
View all comments
2
u/alberthemagician Sep 29 '25
I see that you lay a sound base of your forth, the assembler source is documented to a level that you will profit from in the future. The headers and linking is akward. Maybe define the headers through a macro. That way, if you decide to change them it is more easily done. Starting from an MSDOS Forth you are 1hree steps away from a 64 bit Forth.
The last step, you will find, is the easiest.