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

Representing Code · Crafting Interpreters

craftinginterpreters.com · 7,473 words · saved by 1 readers

To dwellers in a wood, almost every species of tree has its voice as well as its feature. Thomas Hardy, Under the Greenwood Tree

5 Representing Code To dwellers in a wood, almost every species of tree has its voice as well as its feature. Thomas Hardy, Under the Greenwood Tree In the last chapter , we took the raw source code as a string and transformed it into a slightly higher-level representation: a series of tokens. The parser we'll write in the next chapter takes those tokens and transforms them yet again, into an even richer, more complex representation. Before we can produce that representation, we need to define it. That's the subject of this chapter. Along the way, we'll cover some theory around formal grammars

Explore this link on the map →

related reading