Skip to content

Stage 25Foundations1st EditionUnread

Crafting Interpreters

Building a tree-walk interpreter and a bytecode virtual machine exposes how language syntax, scope, runtime values, and memory management become executable software.

Robert Nystrom · Genever Benning (2021) · ISBN 978-0-99-058293-9

  1. 136Scanning, parsing, and syntax trees
  2. 137Lexical scope, functions, and closures
  3. 138Tree-walk interpretation in Java
  4. 139Bytecode compilation and virtual machines in C
  5. 140Garbage collection and runtime optimization
Crafting Interpreters by Robert Nystrom