Computer Science, asked by bkasav, 5 months ago

Are ambiguous grammar context free?​

Answers

Answered by Razishia
1

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.

Answered by manju0304
2

Explanation:

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 it helped

Mark as brainliest plz

Similar questions