0 votes 0 votes Compiler Design compiler-design parsing ace-test-series + – Parshu gate asked Nov 18, 2017 • retagged Jul 16, 2022 by Anjana5051 Parshu gate 4.6k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply junaid ahmad commented Nov 18, 2017 reply Follow Share Given answer is perfectly fine,what's your doubt ? 0 votes 0 votes Parshu gate commented Nov 18, 2017 reply Follow Share How is it correct? Is it always correct? 0 votes 0 votes akash.dinkar12 commented Nov 18, 2017 reply Follow Share yes!! 0 votes 0 votes junaid ahmad commented Nov 18, 2017 reply Follow Share It is always correct.what you do to make LALR is combining states which are having same LR(0) items but different look -ahead,if you were not having SR conflict initially then how it can be possible after combining.but that is not the case with RR conflict.if you want to prove it wrong give any counter example. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes 1) if there is no SR-conflict in CLR(1), there will be no SR-conflict in LALR(1) 2)If there is no RR-conflict in CLR(1), then it MAY/ MAYNOT be no RR-conflict in LALR(1) hence option B is correct suryaprakash answered Jun 13, 2018 • edited Jun 13, 2018 by suryaprakash suryaprakash comment Share Follow See all 0 reply Please log in or register to add a comment.