3 votes 3 votes Compiler Design compiler-design parsing test-series + – thor asked Nov 15, 2016 • retagged Mar 15, 2019 by Naveen Kumar 3 thor 2.4k views answer comment Share Follow See all 8 Comments See all 8 8 Comments reply Gate Mission 1 commented Nov 15, 2016 reply Follow Share where are the productions ?? we need to know the follow to check conflicts 0 votes 0 votes thor commented Nov 15, 2016 reply Follow Share These are productions. Answer given says it's SLR(1), but i think they are wrong. 0 votes 0 votes Gate Mission 1 commented Nov 15, 2016 reply Follow Share You telling the wrong productions ...kindly see you slr(1) again 0 votes 0 votes thor commented Nov 15, 2016 reply Follow Share Sorry 0 votes 0 votes Gate Mission 1 commented Nov 15, 2016 reply Follow Share yes you are correct it's not slr(1).. I6 state has SR conflict. 0 votes 0 votes thor commented Nov 15, 2016 reply Follow Share Answer given is wrong. 0 votes 0 votes utk0203 commented Jan 2, 2017 reply Follow Share Follow of Q ! Got stuck into that :) 0 votes 0 votes DAWID15 commented Jan 12, 2022 reply Follow Share the grammer is not LR(0), SLR(1) and LR(0). Right? 0 votes 0 votes Please log in or register to add a comment.
4 votes 4 votes In I6 there is SR conflict follow (Q) ={t,$}. Saurabh deokate 11 answered Nov 15, 2016 Saurabh deokate 11 comment Share Follow See all 0 reply Please log in or register to add a comment.
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. agoh answered Nov 15, 2016 agoh comment Share Follow See all 0 reply Please log in or register to add a comment.
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).. suryaprakash answered Aug 27, 2017 suryaprakash comment Share Follow See all 0 reply Please log in or register to add a comment.