Class 11: SLR Parsing


Display version (pdf).



Finish your Project Part 1 and study for your six-week exam!

Reading: PLP, Section 2.3.3.

The following exercises are due next Monday (October 2) at the beginning of class.

  1. How does an SLR parser resolve conflicts? What is different in an LALR parser?
  2. List the steps in generating a table-driven SLR parser.
  3. Come up with your own example of a grammar that is not SLR(0).