Legend Regular Grammar

The regular grammar defines the basic language elements i.e. tokens as certain classes of character sequences like numbers, identifiers, operators and strings.

Each rule defining such a class of character sequences has the following structure:
<Class Type> < [Member group :] Class Identifier [![+|-] Next group to activate]> :: <Regular Expression>

We distinguish six types of classes:

A regular expression spezifies the character sequences belonging to the class. Such a description usually consists of the following elements and operators:

Case ignore character classes can be spezified with an [I] behind the class identifier.