Top-Down Translation: Introduction
16
/
61
•
LL-grammar with attributes
•
Two pushdown:
•
parser pushdown
×
semantic pushdown
•
Two type of attributes:
•
synthesized:
iherited:
(from children to parent)
A
B
C
A.s
B.
?
(from parent to children
or between siblings)
A
B
A.
?
B.i
D
C
D
C.
?
D.i