Table of Contents
Acknowledgments |
Preface |
What to Expect from This Book |
How This Book Is Organized |
What You’ll Find in the Patterns |
Who Should Read This Book |
How to Read This Book |
Languages and Tools Used in This Book |
1. | Language Applications Cracked Open |
The Big Picture |
A Tour of the Patterns |
Dissecting a Few Applications |
Choosing Patterns and Assembling Applications |
2. | Basic Parsing Patterns |
Identifying Phrase Structure |
Building Recursive-Descent Parsers |
Parser Construction Using a Grammar DSL |
Tokenizing Sentences |
Pattern 1. Mapping Grammars to Recursive-Descent Recognizers |
Pattern 2. LL(1) Recursive-Descent Lexer |
Pattern 3. LL(1) Recursive-Descent Parser |
Pattern 4. LL(k) Recursive-Descent Parser |
3. | Enhanced Parsing Patterns |
Parsing ... |
Get Language Implementation Patterns now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.