The DARWIN language is designed to cover the following set of syntactic entities:
The Genetic Constructs are the key entities in the DARWIN language, since they introduce all of the Genetic Algorithm awairness. There are four important Genetic Constructs - the gene, chromosome, population and genetic algorithm definitions. The Genetic Construct definitions are composed of member declarations and moderator specifications. The members of DARWIN basic types can have an optional domain information specified. In addition, ``frozen'' data members can be specified, which occupy space in the representation and are not handled in any of the generated code. Each of the genetic algorithm constructs will be discussed in detail in their associated subsections that will follow.
The function definitions in DARWIN are very similar to C function syntax and are just logically divided into Moderator and User Function definitions. Syntactically, these two definitions are equivalent. Following is the detailed presentation of the DARWIN language syntax and semantics.