Question: Consider the grammar : S--> aS | bS | Sa | Sb | aa. b) Show that this grammar is ambiguous c) find an unambiguous
Consider the grammar : S--> aS | bS | Sa | Sb | aa.
b) Show that this grammar is ambiguous
c) find an unambiguous grammar for this language.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
