CSC376 · 2080 · 5 marks
What is annotated parse tree? Define S-attributed grammar with an example.
What is annotated parse tree? Define S-attributed grammar with an example. [5]
Compiler Design and ConstructionChapter 2: Lexical, Syntax and Semantic AnalysisAnnotated Parse Tree