2,754 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
164 views
0 votes
0 votes
0 answers
2
Deepalitrapti asked Jul 17, 2018
201 views
1 votes
1 votes
1 answer
3
Mk Utkarsh asked Mar 22, 2018
1,317 views
Please post few examples of Linear Ambiguous Context Free Grammar.It would be helpful if you post grammars for famous languages.