Lecture 08
More on Parsing
Push Down Automata in Parsing
LR Parser without Lookahead
Nice things about LR Parsing
Optional Material: LR Parsing with Lookahead
Name Analysis
Scopes of Symbols
Identifiers vs Symbols Example
Simple Language with Local Variables
Scoping Rules Affect Program Meaning
Continued in Lecture 09
References
- Tiger book, Section 3.3
- Theory of Parsing, Chapter 5 (One-Pass No Backtrack Parsing)