retagged by
2,429 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

1.5k
views
1 answers
0 votes
worst_engineer asked Jan 9, 2016
1,452 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 ?
737
views
0 answers
4 votes
learner_geek asked Aug 5, 2017
737 views
Here what will we do check intersection of follow(S) and follow(B) if common find then declare SR CONFLICT or As S production finish but it's Intersection ... terminal(which is after dot in unfinished production)Please help what to do????
1.5k
views
1 answers
1 votes
srestha asked Jun 17, 2018
1,465 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$) ?
561
views
1 answers
0 votes
sripo asked Nov 1, 2018
561 views
For given production for a LR(1) grammarB->b.C ,$|c here C is non terminalC->c. ,$ ... a shift reduce conflict if a non terminal is visited.Please explain how shift reduce conflict works