Back to work

Forth Interpreter

I wanted to understand interpreters by making one small enough to hold in my head. Forth was a good fit because its stack model is simple but still forces careful thinking about parsing and execution.

A deliberately small language was more useful for learning than a larger parser project because every execution step remained understandable.

  1. 01Stack execution model
  2. 02Parser and evaluator
  3. 03Interactive REPL
PythonInterpretersStack-based Languages