UGC NET CS 2023Theory of Computation and Compilers › Syntax AnalysisVerified
UGC NET CS 2023 PYQ: Which of the following parser is most powerful parser?
Which of the following parser is most powerful parser?
- AOperator precedence
- B$\text{SLR}$
- CCanonical $\text{LR}$Correct answer
- D$\text{LALR}$
Answer
(C) Canonical $\text{LR}$
Approach
Compare the power of parser classes in the LR family against operator precedence.
Reviewed by UGC IQ Editorial Team.