-
The grammar A → AA | (A) | ∈ is not suitable for predictive parsing because the grammar is
-
- ambiguous
- left-recursive
- right-recursive
- an operator grammar
- ambiguous
Correct Option: B
Grammar is left recursive, hence the predictive parser may fall into a infinite loop. Answer A is not correct because ambiguity can occur from both left and right recursion.