All mock tests are FREE till 31 December — register to save your progress

Which of the following parser is most powerful parser?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. Canonical LR

Explanation

Canonical LR(1) is the most powerful of these: operator precedence < SLR < LALR < canonical LR.

More Theory of Computation and Compilers questions