Computer Science, asked by abhaytiwari262000, 9 months ago

what is ambiguous grammar?​

Answers

Answered by sumitgolu2003
0

Explanation:

an ambiguous grammar is a context-free grammar for which there exists a string that can have more than one leftmost derivation or parse tree, while an unambiguous grammar is a context-free grammar for which every valid string has a unique leftmost derivation or parse tree.

Answered by cutie08
2

Answer:

Answer:In computer science, an ambiguous grammar is a context-free grammar for which there exists a string that can have more than one leftmost derivation or parse tree, while an unambiguous grammar is a context-free grammar for which every valid string has a unique leftmost derivation or parse tree.

Hope this helps u dear!!

Mark as brainliest ✨

#followme ❤️ ❤️

Similar questions