Towards Code-centric Code Generators
DOI:
https://doi.org/10.14279/tuj.eceasst.82.1218Abstract
This paper presents a novel approach to code generation. While common code generator approaches lack in support for code evolution and maintenance such as refactoring, the presented Code-centric generator (CCG) approach attempts to overcome these issues. Instead of mixing generator abstractions and actual code snippets, CCG provides a layer between the generator and prototypical target code. The new layer provides the ability to map code generator operations directly onto code AST subtrees, and generates the resulting generators based on these mappings and the prototypical target implementation.Downloads
Published
2023-10-06
How to Cite
[1]
D. Busch, “Towards Code-centric Code Generators”, eceasst, vol. 82, Oct. 2023.
Issue
Section
Articles
License
Copyright (c) 2023 Electronic Communications of the EASST
This work is licensed under a Creative Commons Attribution 4.0 International License.