(a) What do you mean by Intermediate code phase of the compiler? Desc…
Previous year question for Compiler Design.
Question
(a) What do you mean by Intermediate code phase of the compiler? Describe its various kinds.
(b) Construct the following grammar:
G: E->E+T|T
T->T*F|F
F->(E)|id
Associate semantic rules with the productions for the construction of syntax tree for the expression. Using the translation scheme construct the syntax tree for the expression : a+b*c.
- Year: 2018
- Subject: Compiler Design