2 votes 2 votes Which of the following suffices to convert an arbitrary $CFG$ to an $LL(1)$ grammar ? Removing left recursion alone Removing the grammar alone Removing left recursion and factoring the grammar None of the above Compiler Design ugcnetcse-june2014-paper2 compiler-design parsing + – makhdoom ghaya asked Jun 8, 2016 • retagged Jul 8, 2016 by Arjun makhdoom ghaya 1.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes D -- NON OF THESE. THE GRAMMER NOT ONLY NEED TO BE FREE FROM LEFT RECURSION AND LEFT FACTORING BUT ALSO IT NEED TO BE FREE FROM AMBIGUITY asu answered Jun 8, 2016 • selected Jun 24, 2016 by Arjun asu comment Share Follow See 1 comment See all 1 1 comment reply Gopal G commented Apr 18, 2017 reply Follow Share But as per the question C answer seems to be OK, Why to D? 0 votes 0 votes Please log in or register to add a comment.