Input your context-free grammar (CFG) here. The start symbol has already been filled in for you.
This is the CFG you have input above:
To test the CFG above, input test strings here, one per line. An empty line corresponds to the empty string. Results will be shown automatically.
Test Results for CFG