next up previous contents index
Next: 5.8 Extension of a Up: 5 Reference Manual Previous: 5.6 Predefined Types

5.7 Complete Definition of an Abstract Syntax

external

The complete definition of an abstract syntax is given by a name (for the defined formalism) and a list of declaration.

program     -->   "abstract" "syntax" "of" id "is"
                     declaration*
                  "end" [id] ";"
declaration -->   operator | inclusion | union | line

The last identifier is optional. If present it must be equal to the first one. However, the parser does not check this constraint.

external


next up previous contents index
Next: 5.8 Extension of a Up: 5 Reference Manual Previous: 5.6 Predefined Types

Thierry Despeyroux
Fri May 16 15:24:06 MET DST 1997