Resolving and Binding · Crafting Interpreters
Once in a while you find yourself in an odd situation. You get into it by degrees and in the most natural way but, when you are right in the midst of it, you are suddenly astonished and ask yourself how in the world it all came about.
11 Resolving and Binding Once in a while you find yourself in an odd situation. You get into it by degrees and in the most natural way but, when you are right in the midst of it, you are suddenly astonished and ask yourself how in the world it all came about. Thor Heyerdahl, Kon-Tiki Oh, no! Our language implementation is taking on water! Way back when we added variables and blocks , we had scoping nice and tight. But when we later added closures , a hole opened in our formerly waterproof interpreter. Most real programs are unlikely to slip through this hole, but as language implementers, we t
related reading
- Scanning · Crafting Interpreterscraftinginterpreters.com
- Statements and State · Crafting Interpreterscraftinginterpreters.com
- The Lox Language · Crafting Interpreterscraftinginterpreters.com
- Classes · Crafting Interpreterscraftinginterpreters.com
- Evaluating Expressions · Crafting Interpreterscraftinginterpreters.com
- Introduction · Crafting Interpreterscraftinginterpreters.com
- Functions · Crafting Interpreterscraftinginterpreters.com
- Control Flow · Crafting Interpreterscraftinginterpreters.com
- Parsing Expressions · Crafting Interpreterscraftinginterpreters.com
- Inheritance · Crafting Interpreterscraftinginterpreters.com
- A half-hour to learn Rustfasterthanli.me
- Chunks of Bytecode · Crafting Interpreterscraftinginterpreters.com