This section describes the classes of lexical tokens.
Blanks, tabs, new-lines, and comments form white space. White space is ignored except when it separates adjacent tokens. All input between (* and *) is considered a comment. Comments do nest. A program may not end with a non-terminated comment.
An identifier consists of a letter or underscore, followed by any number of letters, underscores, and digits. Identifiers are case sensitive. Identifiers are at least 30 characters significant.
The following tokens are keywords and are reserved.
They cannot be used as regular identifiers.
include is only a keyword at the beginning of a line.
An integer constant is defined exactly as in ANSI-C (including octal and hexadecimal constants), except that there are no L, l, U, and u suffixes. An integer constant is of type int and cannot be used as lvalue.
A character constant is defined exactly as in ANSI-C, except that there is no L prefix for wide-character constants. A character constant is of type char and cannot be used as lvalue.
A real constant is defined exactly as in ANSI-C, except that there are no F, f, L, and l suffixes. A real constant is of type real and cannot be used as lvalue.
There are two constants of type bool: true and false. They cannot be used as lvalue.
A string constant is defined exactly as in ANSI-C, except that there is no L prefix for wide-character string constants, and that strings are not implicitly terminated by '0'. A string constant is of type string and cannot be used as lvalue. Deleting a string constant causes undefined behavior.
The value null is of the implicit null type and denotes a null reference. null cannot be used as lvalue.
A file can be included by specifying include file.inc; the keyword include must begin a new line and may not be preceded by white space. It is recommended but not necessary to end a file with .inc. The search path can be modified by using the -I compiler switch.
K.G. Langendoen 2010-01-08