The original grammar generates
because each use of adds one on the left and one on the right, and terminates the derivation.
Introduce nonterminals and use
Every production is in Chomsky normal form. The production completes one matched pair, while either start-like symbol terminates with , so the grammar generates exactly the same language. These productions are a valid .

Articles by others on the same topic (0)

There are currently no matching articles.