Exercise ‹37›:

Unambiguous CFG for {xcy∣x,y∈{a,b}∗∧∣x∣=∣y∣∧∣x∣aa>0}\{ xcy \mid x,y\in\{a,b\}^* \wedge |x|=|y| \wedge |x|_{aa}>0 \}
Write an unambiguous CFG generating the words of the form xcyxcy, where x,yx,y are words over {a,b}\{a,b\} with the same length and such that there is some ocurrence of aaaa in xx.
Authors: Guillem Godoy / Documentation:
To be able to submit you need to log in, register, or become a guest.