Crafting Interpreters

by Robert Nystrom

5.00 · 1 rating

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 edition cover

paperback

Genever Benning

Published Jul 27, 2021

640 pages

ISBN: 9780990582939

available

Reviews

5.00
out of 5

1 rating

No written reviews yet.

Details

First Published

2021

Language

eng

Content Warnings

No content warnings identified.