2,843 views
1 votes
1 votes

if following grammar ambiguous ?

S->aSbS|bSaS|λ

2 Answers

Best answer
5 votes
5 votes

Ambiguous grammer

selected by
0 votes
0 votes
Given grammer is unambiguous because first asbs start with a and next bsas  start with b both output are not same

Related questions

0 votes
0 votes
0 answers
1
Deepalitrapti asked Jul 17, 2018
166 views
0 votes
0 votes
0 answers
2
Deepalitrapti asked Jul 17, 2018
208 views
1 votes
1 votes
1 answer
3
Mk Utkarsh asked Mar 22, 2018
1,390 views
Please post few examples of Linear Ambiguous Context Free Grammar.It would be helpful if you post grammars for famous languages.