4 votes 4 votes Identify the type of the grammar and give justification S $\rightarrow$ XYc X $\rightarrow$ Yb | a Y $\rightarrow$ c | $\epsilon$ SLR(1) Not SLR(1) LR(1) LALR(1) Someone please explain me it with state diagram . I'm confused with $\epsilon$ in the I0 Closure Compiler Design parsing + – pC asked Nov 20, 2015 pC 572 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
4 votes 4 votes At level I0 y-> epsilon will be reduced production and with lookahead b and there will be shift production y->c with look ahead b . so there is SR conflict . so option B is correct . Pranay Datta 1 answered Nov 21, 2015 Pranay Datta 1 comment Share Follow See all 0 reply Please log in or register to add a comment.