Generative Metaprogramming

Recent advances in Software Engineering have reduced the cost of coding programs at the expense of increasing the complexity of program synthesis, i.e. metaprograms, which when executed, will synthesize a target program. The traditional cycle of configuring linking- compiling, now needs to be supplemented with additional transformation steps that refine and enhance an initial specification until the target program is obtained. So far, these synthesis processes are based on error-prone, hand-crafted scripting. To depart from this situation, this paper addresses generative metaprogramming, i.e. the generation of program-synthesis metaprograms from declarative specifications. To this end, we explore (i) the (meta) primitives for program synthesis, (ii) the architecture that dictates how these primitives can be intertwined, and (iii) the declarative specification of the metaprogram from which the code counterpart is generated.

  • 6th International Conference on Generative Programming and Component Engineering (GPCE'07), Salzburg (Austria)

  • October, 2007
  • 3-540-48105-2

This publication has not any associated project.

This publication has not any associated prototype.

ONEKIN, UNIVERSITY OF THE BASQUE COUNTRY

University of the basque country