in Compiler Design retagged by
314 views
1 vote
1 vote

Given answer is yes but i think should not be LL(1)

in Compiler Design retagged by
314 views

2 Comments

what are your first and follow sets? Do you find first sets overlapping or first-follow sets overlapping? What I can see is if there is an 'a' in lookahead there might be conflict between two reductions of productions for S and A.
0
0

I am getting this.

0
0

1 Answer

1 vote
1 vote
Best answer
First of S intersection Follow of S = {a} So the grammar is not LL(1)
selected by

Related questions