2. Syntax
An extended Backus-Naur Formalism (EBNF) is used to describe the syntax
of Oberon-2: Alternatives are separated by |. Brackets [ and ] denote optionality
of the enclosed expression, and braces { and } denote its repetition (possibly
0 times). Non-terminal symbols start with an upper-case letter (e.g. Statement).
Terminal symbols either start with a lower-case letter (e.g. ident), or
are written all in upper-case letters (e.g. BEGIN), or are denoted by strings
(e.g. ":=").
Previous Section, Next Section (html2),
Contents
Adapted to HTML by Jürgen Geßwein; 12. Juni 1995