0 votes 0 votes Can lookahead symbol be epsilon in LR(1) parsing? and pls give the LR(1) diagram for the following grammar? A->AB | a B->*AC | Cb | ∈ C->+ABc | ∈ Compiler Design compiler-design lr-parser parsing + – aditi19 asked Mar 25, 2019 • edited Mar 25, 2019 by aditi19 aditi19 1.1k views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply srestha commented Mar 26, 2019 reply Follow Share $\epsilon$ means that will be reduced state, R-R conflict will be there. Then I donot think it will be any lookahead in $LR\left ( 1 \right )$ but a FIRST symbol in $LL\left ( 1 \right )$ 0 votes 0 votes Verma Ashish commented Mar 26, 2019 reply Follow Share there is SR conflict..$ 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes Eplison can not be a look ahead symbole in LR(1). Because whenever epsilon occoured it points next symbole. prashant dubey answered Mar 26, 2019 prashant dubey comment Share Follow See all 0 reply Please log in or register to add a comment.