flâneur — a map of the web's best reading

Introduction · Crafting Interpreters

craftinginterpreters.com · 3,644 words · saved by 2 readers

Fairy tales are more than true: not because they tell us that dragons exist, but because they tell us that dragons can be beaten. G.K. Chesterton by way of Neil Gaiman, Coraline I’m really excited we’re going on this journey together. This is a book on implementing interpreters for programming languages. It’s also a book on how to design a language worth implementing. It’s the book I wish I’d had when I first started getting into languages, and it’s the book I’ve been writing in my head for nearly a decade. To my friends and family, sorry I’ve been so absentminded! In these pages, we will walk step-by-step through two complete interpreters for a full-featured language. I assume this is your first foray into languages, so I’ll cover each concept and line of code you need to build a complete, usable, fast language implementation. In order to cram two full implementations inside one book without it turning into a doorstop, this text is lighter on theory than others. As we build each piece

1 Introduction Fairy tales are more than true: not because they tell us that dragons exist, but because they tell us that dragons can be beaten. G.K. Chesterton by way of Neil Gaiman, Coraline I'm really excited we're going on this journey together. This is a book on implementing interpreters for programming languages. It's also a book on how to design a language worth implementing. It's the book I wish I'd had when I first started getting into languages, and it's the book I've been writing in my head for nearly a decade. To my friends and family, sorry I've been so absentminded! In these page

Explore this link on the map →

saved by

related reading