Compiler I WS 2001/2002 - Slide 40
Objectives:
Illustrate comparison of concrete and abstract syntax
In the lecture:
- Repeat concepts of "GdP" (slide GdP-2.9):
- Compare grammars and trees.
- Actions create nodes of the abstract program tree.
- Symbol classes shrink node pairs that represent chain productions into one node
Suggested reading:
Kastens / Übersetzerbau, Section 4.1
Suggested reading:
slide GdP-2.9
Questions:
- Is this abstract grammar unambiguous?
- Why is that irrelevant?
©2001 by Prof. Dr. Uwe Kastens
Generiert mit Camelot | Probleme mit Camelot? | Geändert am: 10.04.2006