1.

Define Ambiguous Grammar.

Answer»

A grammar G is said to be ambiguous if it generates more than one PARSE tree for some sentence of LANGUAGE L(G).
i.e. both leftmost and RIGHTMOST derivations are same for the given sentence.

A grammar G is said to be ambiguous if it generates more than one parse tree for some sentence of language L(G).
i.e. both leftmost and rightmost derivations are same for the given sentence.



Discussion

No Comment Found