3 votes 3 votes Which of the following statements are correct and why.....? Every regular set has LR(1) grammar Every regular grammar is LR(1). Compiler Design compiler-design grammar regular-grammar lr-parser + – shivangi5 asked Oct 30, 2017 • retagged Jun 19, 2022 by Lakshman Bhaiya shivangi5 489 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes I think both are true. because LR(1) parser parses DCFL, and regular languages are subset of DCFL so both should be true. ?? Mohitkumaraiactr answered Oct 30, 2017 Mohitkumaraiactr comment Share Follow See all 7 Comments See all 7 7 Comments reply Show 4 previous comments Mohitkumaraiactr commented Oct 30, 2017 reply Follow Share yup , that will directly imply what i have written 0 votes 0 votes srestha commented Oct 30, 2017 reply Follow Share check this ques https://gateoverflow.in/1251/gate2007-53 0 votes 0 votes shivangi5 commented Oct 30, 2017 reply Follow Share @srestha First is fine it is true statement but what to say about 2nd statement.....I think both are true 0 votes 0 votes Please log in or register to add a comment.