Node:Notation, Next:Simple Data Types, Up:Fundamentals
This specification uses a BNF-like grammar to describe the protocol and its data elements.
Data fields have been given names that start with a lower-case letter.
Fundamental data types have names in all-caps (such as INT32
and
ARRAY
).
Derived data types have names that start with an upper-case letter. (If
the type contains more than one word, all words start with an upper-case
letter, like this: Text-Stat
.) The operator ::=
defines
the name to its left.
Comments start with !
(exclamation mark) and alternatives are
separated by a |
(vertical bar.) A ;
(semicolon)
terminates statements in the grammar. In some specifications there are
literal strings. There is to be no whitespace before or after literal
strings unless there is whitespace in the literal itself.