Find out the most powerful parsers.
2021
Find out the most powerful parsers.
- A.
SLR
- B.
LALR
- C.
Canonical LR
- D.
Operator-precedence
- E.
Question not attempted
Attempted by 75 students.
Show answer & explanation
Correct answer: C
Among LR parsers:
SLR < LALR < Canonical LR (CLR) in power
Canonical LR parser can handle the largest class of grammars, hence it is the most powerful parser.