Virtual GATE 2019 is live!!

Whether it is ambiguous grammar?

Since the grammar has left most derivation as well as right most derivation so it is ambiguous grammar true or false and why?

Sumit Verma @sumitverma 25 Jun 2017 12:21 am

An ambiguous grammar is a context-free grammar for which there exists a string that can have more than one leftmost derivation (or rightmost derivation).
Having both leftmost and rightmost derivation can not imply ambiguity.