A Quick Guide to EBNF Notation
x ::= ...
Defines rule
x
x y
x
followed by
y
x | y
x
or
y
[ x ]
x
is optional
{ x }
Repeat
x
zero or more times
“text”
Leteral