In compiler design, which parsing technique handles the largest class of grammars?
-
A
LL Parsing
-
B
LR Parsing
Correct answer
-
C
Recursive Descent Parsing
-
D
Operator Precedence Parsing
Correct answer
B. LR Parsing
14 views
Explanation
LR parsing is more powerful than LL parsing and can handle a broader class of grammars.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ