retagged by
2,305 views
3 votes
3 votes

retagged by

3 Answers

2 votes
2 votes
It is not SLR(1). Shift-reduce conflict in I-6 over terminal t. [Q -> . ] will be in Follow(Q)={t, $}. There is shift entry on t in I-6.
0 votes
0 votes
its not SLR(1) while finding follow for S and Q, we got multiples entries inthe $ and t cell so its not SLR(1)..

Related questions

0 votes
0 votes
1 answer
1
worst_engineer asked Jan 9, 2016
1,399 views
Will not there be 3 SR conflicts in CLR(1) reduction ?In fact their ans also says this :In the state I1 , will it not be SR conflict ?
4 votes
4 votes
0 answers
2
1 votes
1 votes
1 answer
3
srestha asked Jun 17, 2018
1,400 views
$A→ b.a , \left \{ b \right \}$ $B→ b.,\left \{ a \right \}$It is a SR conflict in LALR(1). Now how reduce state operated on $a$ for non terminal $B$(and not $b$) ?...
0 votes
0 votes
1 answer
4
sripo asked Nov 1, 2018
543 views
For given production for a LR(1) grammarB->b.C ,$|c here C is non terminalC->c. ,$|c and here c is terminal. $|c are lookup symbolsWill there be a shift reduce conflict...