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

Parsing Expressions · Crafting Interpreters

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

This chapter marks the first major milestone of the book. Many of us have cobbled together a mishmash of regular expressions and substring operations to extract some sense out of a pile of text. The code was probably riddled with bugs and a beast to maintain. Writing a real parser—one with decent error handling, a coherent internal structure, and the ability to robustly chew through a sophisticated syntax—is considered a rare, impressive skill. In this chapter, you will attain it.

6 Parsing Expressions Grammar, which knows how to control even kings. Molière This chapter marks the first major milestone of the book. Many of us have cobbled together a mishmash of regular expressions and substring operations to extract some sense out of a pile of text. The code was probably riddled with bugs and a beast to maintain. Writing a real parser - one with decent error handling, a coherent internal structure, and the ability to robustly chew through a sophisticated syntax - is considered a rare, impressive skill. In this chapter, you will attain it. "Parse" comes to English from th

Explore this link on the map →

related reading