Sciweavers

GPCE
2009
Springer

Generating safe template languages

13 years 2 months ago
Generating safe template languages
Template languages are widely used within generative programming, because they provide intuitive means to generate software artefacts expressed in a specific object language. However, most template languages perform template instantiation on the level of string literals, which allows neither syntax checks nor semantics analysis. To make sure that generated artefacts always conform to the object language, we propose to perform static analysis at template design time. In addition, the increasing popularity of domainspecific languages (DSLs) demands an approach that allows to reuse both the concepts of template languages and the corresponding tools. In this paper we address the issues mentioned above by presenting how existing languages can be automatically extended with generic template concepts (e.g., placeholders, loops, conditions) to obtain safe template languages. These languages provide means for syntax checking and static semantic analysis w.r.t. the object language at template d...
Florian Heidenreich, Jendrik Johannes, Mirko Seife
Added 18 Feb 2011
Updated 18 Feb 2011
Type Journal
Year 2009
Where GPCE
Authors Florian Heidenreich, Jendrik Johannes, Mirko Seifert, Christian Wende, Marcel Böhme
Comments (0)