Connected: An Internet Encyclopedia
5.1 Notational Conventions
Up:
Connected: An Internet Encyclopedia
Up:
Requests For Comments
Up:
RFC 1832
Up:
5. THE XDR LANGUAGE SPECIFICATION
Prev: 5. THE XDR LANGUAGE SPECIFICATION
Next: 5.2 Lexical Notes
5.1 Notational Conventions
5.1 Notational Conventions
This specification uses an extended Back-Naur Form notation for
describing the XDR language. Here is a brief description of the
notation:
- The characters '|', '(', ')', '[', ']', '"', and '*' are special.
- Terminal symbols are strings of any characters surrounded by
double quotes.
- Non-terminal symbols are strings of non-special
characters.
- Alternative items are separated by a vertical bar
("|").
- Optional items are enclosed in brackets.
- Items are
grouped together by enclosing them in parentheses.
- A '*'
following an item means 0 or more occurrences of that item.
For example, consider the following pattern:
"a " "very" (", " "very")* [" cold " "and "] " rainy "
("day" | "night")
An infinite number of strings match this pattern. A few of them are:
"a very rainy day"
"a very, very rainy day"
"a very cold and rainy day"
"a very, very, very cold and rainy night"
Next: 5.2 Lexical Notes
Connected: An Internet Encyclopedia
5.1 Notational Conventions