edited by
1,033 views
2 votes
2 votes

Check whether this grammar is LL(1) or not?

edited by

3 Answers

0 votes
0 votes
This grammar is not LL(1) as first of both non-terminals A and B are same
0 votes
0 votes
The above Grammar is LL(1) only perform intersection of first(AaAb) and first(BbBa). It will result in phi ie a intersection b phi.. hence Grammar is LL(1)

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
0 answers
2
0 votes
0 votes
1 answer
3