6 votes 6 votes The Grammar E$\rightarrow$ EE | a is LR(1) SLR(1) LR(0) None Compiler Design parsing theory-of-computation + – pC asked Nov 20, 2015 pC 3.8k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 8 votes 8 votes We can not parse ambiguous grammar by these( SLR(1),LALR(1),CLR(1),LL(1),LR(0) ) parsers. Given grammar is ambiguous. Hence (D) none is the Answer. LeenSharma answered Nov 20, 2015 • selected Nov 23, 2016 by pC LeenSharma comment Share Follow See all 4 Comments See all 4 4 Comments reply resuscitate commented Nov 21, 2015 reply Follow Share do u think bottom up parser are affected by ambiguity?????I knew only top down parser is affected by ambiguous grammar. 0 votes 0 votes LeenSharma commented Nov 22, 2015 reply Follow Share yes,Bottom-up parsers are also effected by ambiguity. 1 votes 1 votes Hira Thakur commented Dec 2, 2016 reply Follow Share any one plz explain how LL(1) is related to other types of grammer?? evert LL(1) grammer is CLR(1) plz verify this statements 1 votes 1 votes pps121 commented Dec 6, 2018 reply Follow Share any good resource to learn about various parsers with Venn Diagram in detail? 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes i think ans will be 4) none Pranay Datta 1 answered Nov 20, 2015 Pranay Datta 1 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes it is not ambigious grammer, LR(1) parsing possible. HM answered Nov 22, 2022 HM comment Share Follow See all 0 reply Please log in or register to add a comment.
–1 votes –1 votes I think it is LR(0),draw state diagram,it will not produce any conflict. resuscitate answered Nov 20, 2015 resuscitate comment Share Follow See all 3 Comments See all 3 3 Comments reply pC commented Nov 21, 2015 reply Follow Share justify your reason 0 votes 0 votes resuscitate commented Nov 21, 2015 reply Follow Share reasn mean???I drew state diagram...and it didnt produce any conflict 0 votes 0 votes BILLY commented Jul 16, 2016 reply Follow Share only operator precedence can be operated with ambigous grammar.is that so? 0 votes 0 votes Please log in or register to add a comment.