Exercise 12:

CFG for {aibjcki=jj=ki=k}\{ a^i b^j c^k \mid i=j \vee j=k \vee i=k \}
Write a CFG (which will be ambiguous) generating the words of the form aibjcka^i b^j c^k where the number of aa’s equals the number of bb’s, or the number of bb’s equals the number of cc’s, or the number of cc’s equals the number of aa’s.
Authors: Guillem Godoy / Documentation:
To be able to submit you need to either log in, register, or become a guest.