Back to the 2019 paper

Module 2 : Syntax Analysis (Parser)

20192m

Choose the correct answer of the following:
Which one of the following statements is true?
(i) Canonical LR parser is more powerful than LALR parser.
(ii) SLR parser is more powerful than LALR.
(iii) LALR parser is more powerful than canonical LR parser.
(iv) SLR parser, canonical LR parser and LALR parser all have the same power.

Similar questions