Forth Interpreter and Abstract Machine

Forth interpreter and abstract machine illustrated in one image.

Update - 2024

Almost ten years after writing my initial thoughts and essays, I sat down and wrote bjForth, a Forth implementation on the JVM. It puts many of those ideas into practice.

Forth has such a strikingly well thought out simple execution model that it can fit in one small diagram:

Diagram showing how a Forth interpreter executes words using a dictionary, memory, a return stack and a parameter stack

Forth interpreter and abstract machine.


Comments