nirbhay.sh
../reading

Crafting Interpreters

author
Robert Nystrom
type
book
status
read
logged
2026-08-02
source
original →

Worked both halves rather than reading them.

The tree-walking interpreter in part one is a warm-up, and it is tempting to stop there because you have a working language at the end of it. Don't. The bytecode VM in part two is where the actual lessons are: the compiler, the stack discipline, the garbage collector, and the chapter on closures and upvalues that took me three attempts.

The clearest technical writing I have read. Every chapter ends with a program that runs.