3. The classgen specification language

  1. Basic data types
  2. Enumerations, attributes and methods
  3. Formal specification syntax
  4. Combining data types
  5. Visitor design pattern

This is an informal description of classgen's specification language. classgen uses grammars to specify data types. We used visual classgen to visualize the data types. For further explanation please refer to visual classgen documentation, available at vcg homepage.

Since vcg uses grammars to describe the data types the specification is (mainly) a list of productions. All productions have the following form

left-hand-side ::= right-hand-side

The different data types are introduced in an informal way. A formal definition of the specification syntax can be found here.

© copyright 2000, 2001, 2002 Sebastian Winter (winterse@in.tum.de) and Florian Deissenboeck (flo@deissenboeck.de)

© copyright 2000, 2001, 2002 Technical University of Munich, Germany