


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















G22.2130-
Lecture 8:
Syntax-Directed Translation
Chapter 4
Synthesized Attributes
Attribute of the node is defined in terms of:
SDD involving only synthesized attributes is called S-attributed
3*5+4n
A parse tree showing the values of its attributes is called annotated parse tree.
Give the annotated parse tree of (3+4)*(5+6)n
Give annotated parse-trees for: int a, b, c