Ambiguous grammar and unambiguous grammar
Answers
Answered by
1
In computer science, an ambiguous grammar is a context-free grammarfor which there exists a string that can have more than one leftmost derivation or parse tree, while anunambiguous grammar is a context-free grammar for which every valid string has a unique leftmost derivation or parse tree.
Answered by
0
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
History,
7 months ago
English,
7 months ago
Science,
1 year ago
Social Sciences,
1 year ago
Computer Science,
1 year ago