- 1 (21.18 KiB) Viewed 38 times
Exercise 6: Show that the following grammar is ambiguous. S→ ε | aSbs | bSas (Hint: It is sufficient to show for one sin
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Exercise 6: Show that the following grammar is ambiguous. S→ ε | aSbs | bSas (Hint: It is sufficient to show for one sin
Exercise 6: Show that the following grammar is ambiguous. S→ ε | aSbs | bSas (Hint: It is sufficient to show for one single string (your choice) that there exist two different parse trees.)