Ultimately I want to convert the following CFG into Chomsky Normal Form:
S→aSbS∣bSaS∣ε
However, I'm not sure if I'm doing the derivations correctly--here is what I have:
Replacing nonterminals with terminals
S→aabb
S→ε
Could someone tell me if this is correct/on the right track?
Thank you.