Principles of compiler design
16 Marks
1.
Construct the
CLRparsing for the accepting state (id+id) and not accepting state id+?
2.
Explain the predictive
parsing with an example?
3. For
the given grammar G and the input string (id*id), do the shift-reduce parsing?
4. Explain
the implementation of Three address codes?
5. Explain
translation of boolean expressions in detail?
6. Explain
translation of declaration?
2-Marks