|
Introduction
This documentation describes the PARSEC code generator Website worked example.
PARSEC generates source code from code templates that specify relational queries on tables containing data about the system to be produced. It does not matter to PARSEC what sort of model is used as the Metamodel input. This example generates code from the populated tables of the Website analysis model directly, rather than from a full blown Metamodel.
A Website example was chosen to demonstrate the capabilities of PARSEC because it's amenable to a simplified code generation process that should make it easier to see what's going on.
The worked example does not require the other Model Compiler components because the generated HTML code is run directly in your Browser. At this stage, involving the other Model Compiler components would get in the way of explaining how a true Template Engine like PARSEC works.
You can download PARSEC, several templates and Metadata which together form the Worked Example Software Package from here.
|