English, asked by ncvjsaamaj5740, 1 year ago

When is a grammar said to be ambiguous in automata?

Answers

Answered by Shreyatripathi5
1
Ambiguous grammar. 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.
Similar questions