Experiment with Hardmath123's incredible
Nearley Parser! Nearley will parse anything you throw at it (including ambiguous grammars!) without complaining or going into a sulk infinite loop. You can find the Nearley syntax spec here, more example grammars here, and this project's repo here. If you like playgrounds and stuff, consider following me on twitter!