
In bottom-up evaluation of a Syntax Directed Definition (SDD),inherited attribute can _____.


Important Questions on Compiler Design
Which of the following statements is incorrect about parsing?
(i)Top-down parsing expands the start symbol to there quired string needed whereas in bottom-up parsing reduces the syntax to the start-symbol.
(ii)Top-down parsing is implemented using the set of recursive procedures and implementation of bottom-up parsing is done using the stacks and input buffer.
(iii)Back tracking is required for the both bottom-up and top-down parsing implementation.

What is the disadvantages of an operator precedence parsing?
(i) Operator precedence parsing is hard to handle tokens like the minus sign.
(ii) One cannot always be sure that the parser accepts exactly the desired language.
(iii) Only a small class of grammars can be parsed using operator precedence techniques.






