Exercise 31:

Non-ambiguous CFG for {w{a,b}2wa=wb}\{ w \in \{a,b\}^* \mid 2|w|_a=|w|_b \}
Write a non-ambiguous CFG generating the words over {a,b}\{a,b\} such that the number of occurrences of bb is twice as much as the number of occurrences of aa.
Authors: Guillem Godoy / Documentation:
To be able to submit you need to either log in, register, or become a guest.