Preface
The more language applications you build, the more patterns you’ll see. The truth is that the architecture of most language applications is freakishly similar. A broken record plays in my head every time I start a new language application: “First build a syntax recognizer that creates a data structure in memory. Then sniff the data structure, collecting information or altering the structure. Finally, build a report or code generator that feeds off the data structure.” You even start seeing patterns within the tasks themselves. Tasks share lots of common algorithms and data structures.
Once you get these language implementation design patterns and the general architecture into your head, you can build pretty much whatever you want. If ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access