1,130 views
0 votes
0 votes
S→iEtS|iEtSeS|a, E→b

How is this grammar ambiguous??

 Please explain.

1 Answer

Best answer
2 votes
2 votes
Ambiguous Grammar by definition is any grammar where we can have two or more parse trees for a particular string. Here it can easily be observed that for some strings two parse trees are possible, for instance the string ibtibtaea.
selected by

No related questions found