previous | start | next

Question 2 answer.

Ambiguous grammar

An ambiguous grammar is a grammar for which there exists some sentence in the language of the grammar that has two different parse trees.

Equivalently, an ambiguous grammar is a grammar for which there exists some sentence in the language of the grammar that has two different left-most derivations.



previous | start | next