

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Questions on Compiler Design subject
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


T → num. num | num (a) Give a syntax-directed definition to determine the type of each subexpression. Assign each symbol an attribute” type”. (b) Provide the parse tree for the expression 5 + 4 + 3.2 + 1 and show the computation E.type and T.type at each point.