Create A Simple Grammar

The following is an illustration of how a list of possible input strings can be described in the JSGF grammar format.
Special symbols like square brackets are converted to spaces in the grammar to avoid possible problems in the JSGF format.

Put the possible input strings in the section below. Use a separate line for each possible input.
The grammar on the right hand side of the page will be updated automatically.
When you have completed listing all the possible inputs, you can copy the grammar from the box on the right into a text file and rename it as name_of_your_application.jsgf

If you want to do something more advanced, the format supports many other features. For example, you can use more than one symbol to define an infinite set of inputs.

More details on the JSGF format are available at