A.2 Notation Conventions
Next: A.3 PIF Syntax Definition
Up: PhD Thesis Franz Fasching
Previous: A.1 PIF Language Rules
The notation used to describe the PIF syntax is very similar to the Backus
Naur Form (BNF).
We use
- teletype
- for required text (terminals) - ``write it as it is''.
- italics
- for syntax construct names (nonterminals) -
``look at the definition''.
- a | b | c
- for choices - ``choose one of
a, b, or c''.
- a
- for options - ``take or leave a''.
- ()
- for syntactical grouping.
- a
- for an optional sequence - ``give zero or more
instances of a''.
- {a}
- for a sequence - ``give one or more instances
of a''.
Martin Stiftinger
Tue Nov 29 19:41:50 MET 1994