Exam Lookup

Which one of the following kinds of derivation is used by LR parsers?




Solution
D. Rightmost in reverse



Explanation
LR parser is a bottom up parser. Hence it uses right most derivation in reverse order.