RandomGrammar

Options

Start Rule: Seed: Repitition Max:
Grammar:

Help

Random Grammar will randomly generate a string that conforms to the grammar you provide. Enter your ABNF grammar into the Grammar text box, the name of the top level rule in the Start Rule textbox, the seed from which to generate the random string in the Seed textbox, and a maximum value (inclusive) to use for those parts of a grammar which specify a range with no maximum in the Repitition Max textbox. Press the submit button when you've filled in all of the text boxes and wish to see a random string.

Examples

The following are a few examples.

To Do

I think I'm mostly done with this project. Some nice things that I'd like to do but probably never will include the following.
  • Support EBNF too.