cvs: php-lang / Language_Notation.txt
| From: | Sascha Schumann | Date: | Fri, 17 Nov 2000 18:59:31 +0000 |
| Subject: | cvs: php-lang / Language_Notation.txt | ||
| Groups: | php.lang | ||
| Request: | Send a blank email to php-lang+get-6@lists.php.net to get a copy of this message | ||
sas Fri Nov 17 10:59:31 2000 EDT
Added files:
/php-lang Language_Notation.txt
Log:
Add proposed language notation
Index: php-lang/Language_Notation.txt
+++ php-lang/Language_Notation.txt
Language Notation
Non-terminals: Syntactic categories
Terminals: Literal words and character set members
A colon (:) following a nonterminal introduces its
definition. Alternative definitions are listed on separate
lines, except when prefaced by the words "one of". An
optional symbol is indicated by enclosing the symbol in
brackets ([]).
Examples:
integer-constant:
decimal-constant [integer-suffix]
octal-constant [integer-suffix]
hexadecimal-constant [integer-suffix]
octal-constant:
0
octal-constant octal-digit
octal-digit: one of
0 1 2 3 4 5 6 7