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 条
  • [21] Study of control for the automated clutch of an automated manual transmission vehicle based on rapid control prototyping
    Zhao, Y-S
    Liu, Z-F
    Cai, L-G
    Yang, W-T
    Yang, J.
    Luo, Z.
    PROCEEDINGS OF THE INSTITUTION OF MECHANICAL ENGINEERS PART D-JOURNAL OF AUTOMOBILE ENGINEERING, 2010, 224 (D4) : 475 - 487
  • [22] Wireless Control Model Based on Rapid Prototyping Equipments
    Guo, Yina
    Li, Yongtang
    FRONTIERS OF MANUFACTURING AND DESIGN SCIENCE, PTS 1-4, 2011, 44-47 : 51 - 55
  • [23] Model based function development and internal rapid prototyping
    Reuther, Achim
    Kunze, Marco
    Burger, Thomas
    Brüll, Martin
    VDI Berichte, 2008, (2009): : 735 - 744
  • [24] Grammar model-based program evolution
    Shan, Y
    McKay, RI
    Baxter, R
    Abbass, H
    Essam, D
    Nguyen, HX
    CEC2004: PROCEEDINGS OF THE 2004 CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1 AND 2, 2004, : 478 - 485
  • [25] Meta-model-based shop-floor digital twin architecture, modeling and application
    Yang, Xiaolang
    Liu, Xuemei
    Zhang, Heng
    Fu, Ling
    Yu, Yanbin
    ROBOTICS AND COMPUTER-INTEGRATED MANUFACTURING, 2023, 84
  • [26] Meta-model-based Design Method for Frequency-domain Performance Reliability Improvement
    Son, Young Kap
    TRANSACTIONS OF THE KOREAN SOCIETY OF MECHANICAL ENGINEERS A, 2015, 39 (01) : 19 - 26
  • [27] An efficient multiple meta-model-based global optimization method for computationally intensive problems
    Gu, Jichao
    ADVANCES IN ENGINEERING SOFTWARE, 2021, 152
  • [28] A meta-model-based optimization approach for fast and reliable calibration of building energy models
    Chen, Jianli
    Gao, Xinghua
    Hu, Yuqing
    Zeng, Zhaoyun
    Liu, Yanan
    ENERGY, 2019, 188
  • [29] Environmental impact assessment for a meta-model-based food-energy-water-nexus system
    Ogbolumani, Omolola A.
    Nwulu, Nnamdi, I
    ENERGY REPORTS, 2024, 11 : 218 - 232
  • [30] Using Meta-Model Transformation to Model Software Evolution
    Girba, Tudor
    Favre, Jean-Marie
    Ducasse, Stephane
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 137 (03) : 57 - 64