Warning: Parameter 1 to Language::getMagic() expected to be a reference, value given in /usr/share/mediawiki/includes/StubObject.php on line 58
A Formal Way from Text to Code Templates – GRK-Wiki

A Formal Way from Text to Code Templates

Aus GRK-Wiki

Wechseln zu: Navigation, Suche


  • Accepted for the 12th International Conference on Fundamental Approaches to Software Engineering (FASE 2009), part of the Joint European Conferences on Theory and Practice of Software (ETAPS 2009)

Author

Abstract

We present an approach to define template languages for generating syntactically correct code. In the first part of the paper, we define the syntax and semantics of a template language for text generation. We use Natural Semantics for expressing both the static and the dynamic semantics of the language. In the second part, we deal with template languages for code generation in a particular target language. We provide construction steps for the syntax and semantics of such languages. The approach is generic and can be applied to any target language.

Download paper

  • final draft © Springer, (2009). This is the author's version of the work. It is posted here by permission of Springer for your personal use. Not for redistribution.

BibTeX

@InProceedings{wachsmuth:code_templates,
  author = 	{Guido Wachsmuth},
  title = 	{A Formal Way from Text to Code Templates},
  booktitle = 	{Proceedings of the 12th International Conference on Fundamental Approaches to Software Engineering (FASE'09)},
  series = 	{Lecture Notes in Computer Science},
  publisher = 	{Springer-Verlag}
}
Persönliche Werkzeuge
Sprache