Which of the following parser is most powerful Parser?
2023
Which of the following parser is most powerful Parser?
Answer: C. Canonical LR — In compiler design, “powerful” means: Ability to parse the maximum number of grammars without conflicts. So we compare parsing power: Operator…
- A.
Operator Precedence
- B.
SLR
- C.
Canonical LR
- D.
LALR
Attempted by 339 students.
Show answer & explanation
Correct answer: C
In compiler design, “powerful” means:
Ability to parse the maximum number of grammars without conflicts.
So we compare parsing power:
Operator Precedence<SLR<LALR<Canonical LR
A video solution is available for this question — log in and enroll to watch it.
Loading lesson…