Description
This hands-on guide takes readers through the complete process of designing and building a programming language, from lexical analysis and parsing to expressions, statements, functions, classes, and garbage collection. Using the approachable Lox language as a practical case study, it develops two working interpreters: a high-level tree-walk implementation and a fast, low-level virtual machine. Along the way, readers gain a deeper understanding of language theory, compiler architecture, runtime systems, and the engineering decisions that bring code to life. Clear explanations, vivid examples, and an engaging teaching style make this an invaluable resource for programmers curious about how programming languages work.
Available Editions
paperback
Genever Benning
Published Jul 27, 2021
640 pages
ISBN: 9780990582939
Reviews
1 rating
No written reviews yet.
Details
First Published
2021
Language
eng
Content Warnings
No content warnings identified.