Pattern-Based Code Generation for Well-Defined Application Domains
EuroPLoP '97, Siemens Technical Report 120/SW1/FB, Munich (D) / Zurich (CH), June 1997
Abstract
Design patterns are commonly understood as describing approved solutions to problems in a certain context.
Although patterns raise the abstraction level of program design, the implementation is still left to the software-designer.
This paper describes our approach to generate domain specific application code using patterns.
The generator is based on a subset of design patterns which contains more formalized patterns with respect to code generation.
This is possible due to the restriction to a sufficiently narrow application domain.
The designers work concentrates on modeling the application using an object-oriented method and binding patterns to it.
The complete product code will be generated automatically from the designed class model and the patterns bound to it.
The sample application domain is building simulation.
(gzipped postscript, 34 KB)