Template Based Code Generation

Stratego -- Strategies for Program Transformation
Template-based code generation is an idiom for program transformation in which the structure of the target code drives the generation process. Jonne van Wijngaarden developed a nice idiom for writing ASP-style target driven templates directly in Stratego using concrete syntax and term wrap patterns.

See Jonne's thesis on 'Code Generation from a Domain Specific Language'.

-- EelcoVisser - 23 Jul 2003


CategoryGlossary