English, asked by rithish9317, 11 months ago

Ambiguous grammer must have more than one parse tree for a string?

Answers

Answered by Anonymous
0

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.


I hope this will help you

If not then comment me


Akanksha07: I want to talk you
Akanksha07: plz inbox me
Similar questions