0 votes 0 votes Any left factored Context-Free Grammar is both unambiguous and non-left-recursive. True or false? Compiler Design compiler-design context-free-grammar ambiguous-grammar true-false + – Iamniks4 asked Dec 12, 2018 retagged Jun 29, 2022 by Lakshman Bhaiya Iamniks4 395 views answer comment Share Follow See 1 comment See all 1 1 comment reply Priyanka Agarwal commented Dec 12, 2018 reply Follow Share false removing left factoring doesn’t mean no ambiguity still ambiguity may present in grammar 0 votes 0 votes Please log in or register to add a comment.
2 votes 2 votes Take the classic example of dangling if else problem. Even if you left factor it, still there is ambiguity. Some grammars are inherently ambiguous. Hence false tusharp answered Dec 12, 2018 tusharp comment Share Follow See all 0 reply Please log in or register to add a comment.