This is one of the
STIPPLE Documentation pages.
STIPPLE Notational Issues
A fairly standard production language is used
to describe the STIPPLE grammar. The rules for
this production language are listed below:
-
An italics font is used to represent a rule
name (e.g. `program`.)
-
A bold font is used to represent a keyword
(e.g. `module'.)
-
A regular font is used for all punctuation.
-
A bullet is used to specify the start of
the production value. For example,
-
rule_name
-
Multiple productions for the same rule name
are listed under the rule name, each with its
own bullet. For example,
-
rule_name
-
production1
-
production2
-
production3
-
New-lines in the middle of production are
ignored. For example,
-
rule_name
-
is equivalent to
-
rule_name
-
Optional portions of a production are enclosed
in bold braces (`{' and `}').
For example,
-
rule_name
-
Zero or more repetitions of a production are
enclosed in bold braces followed by an asterik
(`{' and `}*'). For example,
-
rule_name
-
One or more repetitions of a production are
enclosed in bold braces followed by a plus sign
(`{' and `}+'). For example,
-
rule_name
-
A comma separated list of productions is
represented as the production name followed
by a bold faced comma (`,') and an ellipsis
(`...'). Thus,
-
rule_name
-
is equivalent to
-
rule_name
-
production {
, production }+
-
An end-of-line is represented by an italics
`eol'. Comments and continuation
lines are processed by the lexical analyzer.
-
The start of a new indentation level is
represented by an italics `indent'.
-
The end of an indentation is represented
as an italics `outdent'.
-
An identifier is represented as an
italices `identifier'.
-
A string literal enclosed in single
quotes is represented as an italics
`translated_string'.
-
A string literal enclosed in double
quotes is represented as and italics
`untranslated_string'.
-
An integer constant is represented as
an italics `integer'.
-
A floating point constant is represented
as an italics `float'.
From here you can go to either the next chapter on
STIPPLE Prelude Declarations or back to the
table of contents.
Copyright (c) 1991 --
Wayne C. Gramlich. All rights reserved.