NewGen Engine

This information introduces the generator technology used by NewGen Package.

NewGen Engine provides the core generator functionality - support of generator commands and processing of input data structure. NewGen package  uses this engine to generate source files based on class model described in XMI file and optional mapping information. But the engine also can be used to generate text files based on any hierarchical structure.
GenProcessor
module is used to make user data structure accessable by the generator, another word it provides standard interface to user data. Programmer can implement his own version of processor as separate DLL and configure generator to use it. The first reason to do it is, as it was mentioned above, to provide support of custom data structure. But also you can customize some GML syntax processing.
GenProcessor has the next areas of functionality
  1. Filter processing (see FOR command and IF command)
  2. Iterator processing (see Variables)
  3. Variable processing (see Constants)
  4. Named values processing (see NVAL command)