0
9.4kviews
Eliminate Left recursion in the following grammar (Remove Direct and Indirect recursion) S->AA l B A -> AC | SD | E
1 Answer
0
93views

Left Recursion

• Left Recursion. The production is left-recursive if the leftmost symbol on the right side is the same as the non-terminal on the left side.

• For example, expr → expr + term. If one were to code this production in a recursive-descent parser, the parser would go …

Create a free account to keep reading this post.

and 3 others joined a min ago.

Please log in to add an answer.