0 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 1.6k views answer comment Share Follow Print See all 2 Comments 2 2 Comments reply srestha commented Mar 26, 2019 reply Follow flag $\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 0 replyShare Verma Ashish commented Mar 26, 2019 reply Follow flag there is SR conflict..$ 0 0 replyShare Please log in or register to add a comment.
0 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 0 reply Please log in or register to add a comment.