0 0 votes If the grammar be left recursive then is it always be ambiguous? Compiler Design compiler-design parsing left-recursion ambiguous-grammar descriptive + – vaishali jhalani 2.4k views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply Amitabh Tiwari 1 commented Nov 21, 2016 reply Follow flag If the grammar is left recursive and right recursive both then is it always ambiguous. 1 1 replyShare LeenSharma commented Apr 24, 2017 reply Follow flag A grammar is ambiguous if it is both left and right recursive. http://cs.txstate.edu/~ch04/webtest/teaching/courses/5318/lectures/slides2/s4-amb-assoc-prec.pdf 1 1 replyShare Verma Ashish commented Jun 6, 2019 reply Follow flag It need not be.. https://gateoverflow.in/1493/gate1999-2-15 0 0 replyShare Please log in or register to add a comment.
0 0 votes No, Not necessary if a grammar is left recursive then it may or may not be ambiguous. Let's take one small example A-> Aa/ε this grammar is left recursive but not ambiguous. prashant dubey answered Jun 6, 2019 prashant dubey comment Share Follow 0 reply Please log in or register to add a comment.