Warning: The address you're using is deprecated. Please update your links to point to
http://metrik.informatik.hu-berlin.de/grk-wiki/index.php?title=A_Formal_Way_from_Text_to_Code_Templates&setlang=en
A Formal Way from Text to Code Templates
From GRK-Wiki
- 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
- Guido Wachsmuth, Humboldt-Universität zu Berlin, Germany
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}
}
