update syntax.txt with the flags and grammar name changes

This commit is contained in:
bringert
2007-12-21 17:26:41 +00:00
parent 6296609baf
commit 8b1b228ce7

View File

@@ -29,14 +29,12 @@ Here is a summary of well-formed syntax,
with a comment on the semantics of each construction. with a comment on the semantics of each construction.
``` ```
Grammar ::= Grammar ::=
CId -- abstract syntax names ("grammar" CId CId*) -- abstract syntax name and concrete syntax names
"(" "concrete" CId* ")" -- concrete syntax names "(" "flags" Flag* ")" -- global and abstract flags
"(" "flags" Flag* ")" -- global flags
"(" "abstract" Abstract ")" -- abstract syntax "(" "abstract" Abstract ")" -- abstract syntax
"(" "concrete" Concrete* ")" -- concrete syntaxes "(" "concrete" Concrete* ")" -- concrete syntaxes
Abstract ::= Abstract ::=
"(" "flags" Flag* ")" -- abstract flags
"(" "fun" FunDef* ")" -- function definitions "(" "fun" FunDef* ")" -- function definitions
"(" "cat" CatDef* ")" -- category definitions "(" "cat" CatDef* ")" -- category definitions