0 0 votes Compiler Design compiler-design parsing ace-test-series + – Parshu gate 5.7k views answer comment Share Follow Print See all 4 Comments 4 4 Comments reply junaid ahmad commented Nov 18, 2017 reply Follow flag Given answer is perfectly fine,what's your doubt ? 0 0 replyShare Parshu gate commented Nov 18, 2017 reply Follow flag How is it correct? Is it always correct? 0 0 replyShare akash.dinkar12 commented Nov 18, 2017 reply Follow flag yes!! 0 0 replyShare junaid ahmad commented Nov 18, 2017 reply Follow flag 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 0 replyShare Please log in or register to add a comment.
0 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 0 reply Please log in or register to add a comment.