Refactoring object-oriented frameworks
Refactoring object-oriented frameworks
ANTLR: a predicated-LL(k) parser generator
Software—Practice & Experience
Refactoring: improving the design of existing code
Refactoring: improving the design of existing code
Visitor combination and traversal control
OOPSLA '01 Proceedings of the 16th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
SableCC, an Object-Oriented Compiler Framework
TOOLS '98 Proceedings of the Technology of Object-Oriented Languages and Systems
Code Generation in Action
Agile Modellierung mit UML: Codegenerierung, Testfälle, Refactoring (Xpert.press)
Agile Modellierung mit UML: Codegenerierung, Testfälle, Refactoring (Xpert.press)
Mapping features to models: a template approach based on superimposed variants
GPCE'05 Proceedings of the 4th international conference on Generative Programming and Component Engineering
MontiCore: a framework for the development of textual domain specific languages
Companion of the 30th international conference on Software engineering
Synthesizing hierarchical state machines from expressive scenario descriptions
ACM Transactions on Software Engineering and Methodology (TOSEM)
Hi-index | 0.00 |
This paper presents an exercise to facilitate refactoring techniques not only on generated code, but also on generator templates by reusing existing refactoring techniques from the target language. Refactoring is particularly useful if not only the generated classes but also the template defining the result of the code generator can be adapted in a uniform treatment. We describe a simple demonstration prototype that illustrates our approach. The demonstration is based on the idea to define the templates for code generation themselves as compilable and therefore refactorable source code. However, this limits the directives embedded in the template used for code generation, as we have to embed those as comments. We explore how far this approach carries and where its limits are.