Towards Round-Trip Engineering of Code Fragments Embedded in Models

被引:0
|
作者
Almutairi, Sultan [1 ]
Zolotas, Athanasios [2 ]
Kolovos, Dimitris [1 ]
机构
[1] Univ York, Dept Comp Sci, York, N Yorkshire, England
[2] Liverpool John Moores Univ, Sch Comp Sci & Math, Liverpool, Merseyside, England
基金
“创新英国”项目;
关键词
Model-Driven Engineering; Model-to-Text Transformation; Roundtrip Engineering;
D O I
10.1145/3550356.3561578
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
While embedding code fragments in abstract software models (e.g. Java code in UML models) is far from ideal, it remains a commonly-employed approach for achieving full model-based code generation. In this paper, we embrace this reality and present an approach for extending model-to-text (M2T) transformation languages with support for round-trip engineering of such code fragments. The approach consists of a new construct in M2T templates named sync regions, and a mechanism for synchronising hand-written code in sync regions with the source model of the M2T transformation. We have implemented the proposed approach on top of an existing M2T language (Epsilon Generation Language) and we have carried out experimental evaluation of the correctness and performance of our implementations. The obtained results suggest that the synchronisation algorithm scales linearly with the number of sync regions.
引用
收藏
页码:529 / 538
页数:10
相关论文
共 50 条
  • [1] Towards round-Trip engineering of code fragments embedded in models
    Almutairi, Sultan
    Zolotas, Athanasios
    Kolovos, Dimitris
    Proceedings - ACM/IEEE 25th International Conference on Model Driven Engineering Languages and Systems, MODELS 2022: Companion Proceedings, 2022, : 529 - 538
  • [2] Towards a Round-Trip Support for Model-Driven Engineering of Embedded Systems
    Ciccozzi, Federico
    Cicchetti, Antonio
    Sjodin, Mikael
    2011 37TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2011), 2011, : 200 - 208
  • [3] Towards Model Round-Trip Engineering: An Abductive Approach
    Hettel, Thomas
    Lawley, Michael
    Raymond, Kerry
    THEORY AND PRACTICE OF MODEL TRANSFORMATIONS, 2009, 5563 : 100 - +
  • [4] The power of round-trip engineering
    Meyer, B
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1998, 11 (06): : 93 - 95
  • [5] A synchronizing technique for syntactic model-code round-trip engineering
    Angyal, Laszlo
    Lengyel, Laszlo
    Charaf, Hassan
    FIFTEENTH IEEE INTERNATIONAL CONFERENCE AND WORKSHOPS ON THE ENGINEERING OF COMPUTER-BASED SYSTEMS, PROCEEDINGS, 2008, : 463 - 472
  • [6] ROUND-TRIP ENGINEERING OF WEB APPLICATIONS FOCUSING ON DYNAMIC MODELS
    Imazeki, Yuto
    Takada, Shingo
    Doi, Norihisa
    ICEIS 2008: PROCEEDINGS OF THE TENTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS, VOL ISAS-2: INFORMATION SYSTEMS ANALYSIS AND SPECIFICATION, VOL 2, 2008, : 228 - +
  • [7] Footprinter: Round-trip Engineering via Scenario and State based Models
    Goel, Ankit
    Sengupta, Bikram
    Roychoudhury, Abhik
    2009 31ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, COMPANION VOLUME, 2009, : 419 - +
  • [8] Dynamic Round-Trip Engineering in the context of FOMDD
    Cavarle, Glenn
    Plantec, Alain
    Costiou, Steven
    Ribaud, Vincent
    PROCEEDINGS OF THE 11TH EDITION OF THE INTERNATIONAL WORKSHOP ON SMALLTALK TECHNOLOGIES, (IWST 2016), 2016,
  • [9] SelfSync: A dynamic round-trip engineering environment
    Van Paesschen, E
    De Meuter, W
    D'Hondt, M
    MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2005, 3713 : 633 - 647
  • [10] Model synchronisation: Definitions for round-trip engineering
    Hettel, Thomas
    Lawley, Michael
    Raymond, Kerry
    THEORY AND PRACTICE OF MODEL TRANSFORMATIONS, 2008, 5063 : 31 - 45