A Map of the Territory · Crafting Interpreters
You must have a map, no matter how rough. Otherwise you wander all over the place. In The Lord of the Rings I never made anyone go farther than he could on a given day. J. R. R. Tolkien We don’t want to wander all over the place, so before we set off, let’s scan the territory charted by previous language implementers. It will help us understand where we are going and the alternate routes others have taken. First, let me establish a shorthand. Much of this book is about a language’s implementation, which is distinct from the language itself in some sort of Platonic ideal form. Things like “stack”, “bytecode”, and “recursive descent”, are nuts and bolts one particular implementation might use. From the user’s perspective, as long as the resulting contraption faithfully follows the language’s specification, it’s all implementation detail. We’re going to spend a lot of time on those details, so if I have to write “language implementation” every single time I mention them, I’ll wear my fing
2 A Map of the Territory You must have a map, no matter how rough. Otherwise you wander all over the place. In The Lord of the Rings I never made anyone go farther than he could on a given day. J. R. R. Tolkien We don't want to wander all over the place, so before we set off, let's scan the territory charted by previous language implementers. It will help us understand where we are going and the alternate routes others have taken. First, let me establish a shorthand. Much of this book is about a language's implementation , which is distinct from the language itself in some sort of Platonic ide
related reading
- A Map of the Territory · Crafting Interpreterscraftinginterpreters.com
- Introduction · Crafting Interpreterscraftinginterpreters.com
- Scanning · Crafting Interpreterscraftinginterpreters.com
- how I think when I think about programming - alice mazalicemaz.com
- Representing Code · Crafting Interpreterscraftinginterpreters.com
- Statements and State · Crafting Interpreterscraftinginterpreters.com
- Parsing Expressions · Crafting Interpreterscraftinginterpreters.com
- Control Flow · Crafting Interpreterscraftinginterpreters.com
- Jumping Back and Forth · Crafting Interpreterscraftinginterpreters.com
- Beautiful Racket: Make a language in one hour: stackerbeautifulracket.com
- Crafting Interpreterscraftinginterpreters.com
- Rambles around computer sciencehumprog.org