Page 1 of 1

Show that the following BNF grammar is ambiguous. Then suggest how to fix it. The start symbol is S. S→ Sa | aS | a

Posted: Fri Apr 29, 2022 8:01 am
by answerhappygod
Show that the following BNF grammar is ambiguous. Then suggest how to fix it. The start symbol is S.
S→ Sa | aS | a