Supporting meta-model-based language evolution and rapid prototyping with automated grammar transformation

被引:2
|
作者
Zhang, Weixing [1 ]
Holtmann, Jorg [1 ]
Struber, Daniel [1 ,2 ]
Hebig, Regina [3 ]
Steghoefer, Jan-Philipp [4 ]
机构
[1] Chalmers Univ Gothenburg, Dept Comp Sci & Engn, Gothenburg, Sweden
[2] Radboud Univ Nijmegen, Dept Software Sci, Nijmegen, Netherlands
[3] Univ Rostock, Inst Comp Sci, Rostock, Germany
[4] XITASO GmbH IT & Software Solut, Augsburg, Germany
关键词
Domain -specific languages; DSL; Grammar; Xtext; Language evolution; Language prototyping; COEVOLUTION;
D O I
10.1016/j.jss.2024.112069
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In model-driven engineering, developing a textual domain-specific language (DSL) involves constructing a meta-model, which defines an underlying abstract syntax, and a grammar, which defines the concrete syntax for the DSL. We consider a scenario in which the meta-model is manually maintained, which is common in various contexts, such as blended modeling, in which several concrete syntaxes co-exist in parallel. Language workbenches such as Xtext support such a scenario, but require the grammar to be manually co-evolved, which is laborious and error-prone. In this paper, we present GRAMMARTRANSfORMER, an approach for transforming generated grammars in the context of meta-model-based language evolution. To reduce the effort for language engineers during rapid prototyping and language evolution, it offers a catalog of configurable grammar transformation rules. Once configured, these rules can be automatically applied and re-applied after future evolution steps, greatly reducing redundant manual effort. In addition, some of the supported transformations can globally change the style of concrete syntax elements, further significantly reducing the effort for manual transformations. The grammar transformation rules were extracted from a comparison of generated and existing, expertcreated grammars, based on seven available DSLs. An evaluation based on the seven languages shows GRAMMARTRANSfORMER's ability to modify Xtext-generated grammars in a way that agrees with manual changes performed by an expert and to support language evolution in an efficient way, with only a minimal need to change existing configurations over time.
引用
收藏
页数:19
相关论文
共 50 条
  • [41] "ADORE", a logical meta-model supporting business process evolution
    Mosser, Sebastien
    Blay-Fornarino, Mireille
    SCIENCE OF COMPUTER PROGRAMMING, 2013, 78 (08) : 1035 - 1054
  • [42] Investigation of Evolution Hardware Studies On Analog Circuits For Rapid Prototyping and Proposal a New Model
    Aksu, Ozgur
    2016 NATIONAL CONFERENCE ON ELECTRICAL, ELECTRONICS AND BIOMEDICAL ENGINEERING (ELECO), 2016, : 147 - 155
  • [43] Rapid Model-based Prototyping Tool for SDR on a RC Platform
    Katz, Shaun
    Winberg, Simon
    Mishra, Amit
    2012 2ND IEEE INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED AND GRID COMPUTING (PDGC), 2012, : 711 - 715
  • [44] Design and fabrication of an aircraft static aeroelastic model based on rapid prototyping
    Wang, Chao
    Yin, Guofu
    Zhang, Zhengyu
    Wang, Shuiliang
    Zhao, Tao
    Sun, Yan
    Yang, Dangguo
    RAPID PROTOTYPING JOURNAL, 2015, 21 (01) : 34 - 42
  • [45] An XQuery-Based Model Transformation Language
    Almendros-Jimenez, Jesus M.
    Iribarne, Luis
    Lopez-Fernandez, Jesus J.
    Mora-Segura, Angel
    MODEL AND DATA ENGINEERING, MEDI 2014, 2014, 8748 : 330 - 338
  • [46] Simulation model-based rapid prototyping of complex robot controls
    Maletzki, G.
    Pawletta, T.
    Pawletta, S.
    Duenow, P.
    Lampe, B.
    ATP EDITION, 2008, (08): : 54 - 60
  • [47] A Model Transformation Language Based on Logic Programming
    Almendros-Jimenez, Jesus M.
    Iribarne, Luis
    SOFSEM 2013: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2013, 7741 : 382 - 394
  • [48] An Xquery-based model transformation language
    1600, Springer Verlag (8748):
  • [49] A Novel Approach to Semi-automated Evolution of DSML Model Transformation
    Levendovszky, Tihamer
    Balasubramanian, Daniel
    Narayanan, Anantha
    Karsai, Gabor
    SOFTWARE LANGUAGE ENGINEERING, 2010, 5969 : 23 - 41
  • [50] A Practice-proven, Collaborative, Purely Meta-model-based Adaptive Case Management Approach for Integrated Care
    Michel, Felix
    Vargiu, Eloisa
    INTERNATIONAL JOURNAL OF INTEGRATED CARE, 2021, 21