How This Book Is Organized
This book is divided into four parts:
-
Getting Started with Parsing: We’ll start out by looking at the overall architecture of language applications and then jump into the key language recognition (parsing) patterns.
-
Analyzing Languages: To analyze DSLs and programming languages, we’ll use parsers to build trees that represent language constructs in memory. By walking those trees, we can track and identify the various symbols (such as variables and functions) in the input. We can also compute expression result-type information (such as int and float). The patterns in this part explain how to check whether an input stream makes sense.
-
Building Interpreters: This part has four different interpreter patterns. The interpreters ...
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