Compiler I WS 2001/2002 - Slide 52
Objectives:
Understand relations between LR classes
In the lecture:
Explain:
- LALR(1), SLR(1), LR(0) automata have the same number of states,
- compare their states,
- discuss the grammar classes for the example on slide CI-47.
Suggested reading:
Kastens / Übersetzerbau, Section 4.3
Questions:
- Assume that the LALR(1) contruction for a given grammar yields conflicts. Classify the potential reasons using the LR hierarchy.
©2001 by Prof. Dr. Uwe Kastens
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 10.04.2006