retagged by
372 views
0 votes
0 votes

retagged by

1 Answer

Best answer
2 votes
2 votes

For production S-->aSA/e

first(S)={a} , follow(S)={c,$} this production is fine.

For production A-->c/e

First(A)={c}, follow(A)=follow (S)= {c,$} here is conflict, A-->c and A-->e  wants to get into same cell of terminal c.

that's why this is not LL(1).

selected by

Related questions

1 votes
1 votes
1 answer
1
BOB asked Oct 13, 2018
1,648 views
Construct the LALR(1) sets of items for the grammar:S’ - SS - *SS | aThen, identify, in the list below, one of the LALR(1) sets of items for(A) [S - a., $\$$](B) [S - a...
0 votes
0 votes
2 answers
2
0 votes
0 votes
1 answer
3
1 votes
1 votes
1 answer
4