edited by
293 views
1 votes
1 votes
S->AB

A->a

B->b

this grammar is ambiguous or not.

Q2; is it true that the number of left most derivation tree is always equal to number of right most derivation tree.?
edited by

1 Answer

Related questions

2 votes
2 votes
1 answer
1
reena_kandari asked Aug 14, 2017
478 views
Is this grammar ambiguous?S >SxA|AA >AyB|BB >zB|(S)|m|nI cant prove it ambiguos.As this grammar is not in LR(1) it may or may not be ambiguous.
0 votes
0 votes
1 answer
2
Shyam Singh 1 asked Dec 10, 2016
1,471 views
Every SLR grammar is unambiguous. True or False? Why?
0 votes
0 votes
1 answer
4
vaishali jhalani asked Nov 21, 2016
1,866 views
If the grammar be left recursive then is it always be ambiguous?