Ask Question

Why is it important for a grammar to be unambiguous?

+5
Answers (1)
  1. 5 October, 14:47
    0
    In the computer science, the ambiguous grammar is the which exist in the string in the parse tree structure and it is also known as context free grammar. But the ambiguous grammar is the undesirable because the tree derivation basically provide the useful data about the program semantics.

    The ambiguity is one of the property of the grammar that usually fine the equivalent unambiguous grammar and also provide the conflicting data in the derivation tree.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Why is it important for a grammar to be unambiguous? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers