edited by
1,342 views
1 votes
1 votes

Why ε  is not shown in First(S). First(s) does contain ε . And please help me figure out which grammar is this?

According to me it is NOT LL(1) (since it is left factored), NOT LR(0) (Since the Item 0 has a R-R conflict), NOT SLR(1) (The item 0 has a RR conflict since Follow(X) = Follow(Y) = {a,b}

correct me If i'm wrong

edited by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
sidsunny asked Jan 26, 2017
372 views
First(P) = {+, *, t, epsilon, id} AND Follow(P) = {dollar,id} according to me. In that case M[P, DOLLAR] should have P - QR
8 votes
8 votes
2 answers
2
0 votes
0 votes
1 answer
3
1 votes
1 votes
0 answers
4
muthu kumar asked Nov 15, 2018
516 views
The answer is only S2. Why not both s2 and s3..Someone explain this plz..