GATE 2019 CS – Question 13
Which one of the following kinds of derivation is used by LR parsers?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) Rightmost in reverse
Explanation
An LR parser scans the input left to right and constructs a rightmost derivation in reverse, reducing handles.