Crafting Interpreters: A handbook for making programming languages
by Robert Nystrom
Publisher: craftinginterpreters.com 2015
Number of pages: 195
Description:
This book contains everything you need to implement a full-featured, efficient scripting language. You'll learn both high-level concepts around parsing and semantics and gritty details like bytecode representation and garbage collection.
Download or read it online for free here:
Read online
(online html)
Similar books

by William M. Waite, Gerhard Goos - Springer
Our intent is to provide the reader with a firm theoretical basis for compiler construction and sound engineering principles for selecting alternate methods, implementing them, and integrating them into a reliable, economically viable product.
(9440 views)

by Aarne Ranta
This book follows a theory-based practical approach, where theoretical models serve as blueprint for actual coding. The reader is guided to build compilers and interpreters. The solutions are moreover portable to different implementation languages.
(10869 views)

by Stephen Diehl - StephenDiehl.com
We will build a small functional language called Fun, complete with a parser, type inference, datatypes, pattern matching, desugaring, typeclasses, higher-kinded types, monadic IO, arbitrary-rank polymorphism, records, Core language, etc.
(8597 views)

by Jack Crenshaw
A tutorial on the theory and practice of developing language parsers and compilers. It covers every aspect of compiler construction, programming language design, and building a working compiler. More theoretical aspects of the subject are ignored.
(19374 views)