Grammar
A → A ( B A )
| .
B → B *( A B )*
| .
Try a sentence (separate terminals by spaces; leave blank for the empty string):

Return home to enter a new grammar.