InterviewSolution
Saved Bookmarks
| 1. |
The grammar A ->AA |( A)| ε is not suitable for predictive-parsing because the grammar is ___________(a) Ambiguous(b) Left-recursive(c) Right-recursive(d) An operator-grammarThis question was addressed to me by my college professor while I was bunking the class.My doubt stems from L-Attributed Definition in portion Syntax Directed Definition and Translations of Compiler |
|
Answer» The correct CHOICE is (a) AMBIGUOUS |
|