0 votes 0 votes is it always true or not??? STATEMENT → in LR(0) Parsing i1 is a final state,there is a shift move. it always give S/R conflict. Explain with example. Compiler Design parsing compiler-design + – sandeep singh gaur asked Feb 8, 2019 sandeep singh gaur 359 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply Shaik Masthan commented Feb 8, 2019 reply Follow Share What are the items should be present in Final state ? then you can answer this question yourself ! But don't forget the condition of S-R conflict in is LR(0) parser while answering the question. in LR(0) Parsing i1 is a final state, there is a shift move. it always give S/R conflict. except S → S. state, any other final state contains a shift move, then it always give S/R conflict in LR(0) parser. 1 votes 1 votes sandeep singh gaur commented Feb 8, 2019 reply Follow Share THANKU SIR.. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes In LR-0 parsing, if any state is final state and there is a shift move then that will be S-R conflict. nitin_kumar answered Feb 8, 2019 nitin_kumar comment Share Follow See all 0 reply Please log in or register to add a comment.