Predoaia, Ionut orcid.org/0000-0002-2009-4054, ALMUTAIRI, SULTAN, ZOLOTAS, THANOS et al. (2 more authors) (2025) Hand-Written Code Preservation in Model-to-Text Transformation using Intrinsic Redundancy. In: Proceedings of the ACM / IEEE 28th International Conference on Model Driven Engineering Languages and Systems (MODELS). 28th International Conference on Model Driven Engineering Languages and Systems (MODELS), 05-10 Oct 2025 , USA. (In Press)
Abstract
We present a novel language-agnostic approach for integrating and preserving hand-written code in files generated via model-to-text transformation. Unlike existing approaches that only support modification of generated files in predefined locations (e.g., protected regions), the proposed approach allows users to make edits anywhere within generated files. Our hand-written code preservation technique has been implemented on top of an existing model-to-text transformation language (Epsilon's EGL). The approach is illustrated in a case study involving a code generator of Sirius Web editors and is contrasted with existing approaches such as protected regions and separation of generated and non-generated code using inheritance and delegation.
Metadata
Item Type: | Proceedings Paper |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | This is an author-produced version of the published paper. Uploaded in accordance with the University’s Research Publications and Open Access policy. |
Keywords: | Model-Driven Engineering,Model-to-Text Transformation,Auto-Generated Code,Hand-Written Code |
Dates: |
|
Institution: | The University of York |
Academic Units: | The University of York > Faculty of Sciences (York) > Computer Science (York) |
Date Deposited: | 25 Sep 2025 10:20 |
Last Modified: | 29 Sep 2025 10:50 |
Status: | In Press |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:232214 |
Download
Filename: Hand_Written_Code_Preservation_in_Model_to_Text_Transformation_using_Intrinsic_Redundancy-2.pdf
Description: Hand_Written_Code_Preservation_in_Model_to_Text_Transformation_using_Intrinsic_Redundancy-2
Licence: CC-BY 2.5
