Questions tagged [ambiguous-grammar]

Use this tag in the cases where a parser cannot resolve an ambiguous grammar. For example, when a compiler cannot determine the right choice because an identifier can signify multiple different things.

121 questions
-3
votes
1 answer

How can I prove this grammar is ambiguous?

S → ASB | ab | SS A → aA | ε B → bB | ε
1 2 3
8
9