COMS W4115
Programming Languages and Translators
Lecture 12: Bottom-Up Parsing
October 19, 2009

Lecture Outline

  1. Bottom-up parsing
  2. LR(1) parsing
  3. Constructing a simple LR(1) parser
  4. DFA for viable prefixes
  5. Parsing action conflicts

1. Review

2. Bottom-up Parsing

3. LR(1) Parsing

4. Constructing a Simple LR(1) Parsing Table for a Grammar

5. DFA for Viable Prefixes

6. Parsing Action Conflicts

7. Reading



aho@cs.columbia.edu