Go to the first, previous, next, last section, table of contents.


Syntax

Where applicable, syntax of the construct under discussion is presented. The syntax of the rules is, written in itself:

rule:
          non_terminal `:' alternatives `;' ;
alternatives:
          alternative | alternative `|' alternatives ;
alternative:
          element* ;
element:
          non_terminal
        | terminal
        | element `*'
        | element `+'
        | `[' alternatives `]'
        | `(' alternatives `)'
        ;
non_terminal:
          non-space-characters ;
terminal:
          open-quote characters close-quote ;

The definitions of non-space-characters, characters, open-quote, and close-quote are left as an excercise to the reader.


Go to the first, previous, next, last section, table of contents.