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 条
  • [31] Meta-Model-Based Calibration and Sensitivity Studies of Computational Fluid Dynamics Simulation of Jet Pumps
    Kajero, Olumayowa T.
    Thorpe, Rex B.
    Yao, Yuan
    Wong, David Shan Hill
    Chen, Tao
    CHEMICAL ENGINEERING & TECHNOLOGY, 2017, 40 (09) : 1674 - 1684
  • [32] Development of Rapid Prototyping Slicing Software Based on STL Model
    Pan, Xiaodi
    Chen, Kun
    Chen, Dingfang
    PROCEEDINGS OF THE 2014 IEEE 18TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN (CSCWD), 2014, : 191 - 195
  • [33] Femur Model Reconstruction Based on Reverse Engineering and Rapid Prototyping
    Tang, Tongming
    Deng, Jiawen
    Zhang, Zheng
    Huang, Mingyu
    Ni, Hongjun
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON MECHANICAL ENGINEERING AND CONTROL SYSTEMS (MECS2015), 2016, : 449 - 452
  • [34] A Rapid Prototyping Model Concept for a DSP Based Hearing Aid
    Arsinte, Radu
    Lupu, Eugen
    Sumalan, Teodor
    2017 IEEE INTERNATIONAL CONFERENCE ON E-HEALTH AND BIOENGINEERING CONFERENCE (EHB), 2017, : 337 - 340
  • [35] Preserving Woodcraft in the Digital Age: A Meta-Model-Based Robotic Approach for Sustainable Timber Construction
    Lai, Zhe
    Xiao, Yingying
    Chen, Zitong
    Li, Huiwen
    Huang, Lukui
    BUILDINGS, 2024, 14 (09)
  • [36] A Meta-Model-Based Multi-Objective Evolutionary Approach to Robust Job Shop Scheduling
    Wu, Zigao
    Yu, Shaohua
    Li, Tiancheng
    MATHEMATICS, 2019, 7 (06)
  • [37] A Grammar-Based Multi-Agent System for Language Evolution
    Dolores Jimenez-Lopez, Ma
    HIGHLIGHTS ON PRACTICAL APPLICATIONS OF AGENTS AND MULTI-AGENT SYSTEMS, 2012, 156 : 45 - 52
  • [38] A Meta-Model-Based Life Consumption Monitoring Method for Efficient Decision-Making of PSSs
    Huang, Chao
    Bu, Siqi
    Kong, Shu Wa
    Lee, Hiu Hung
    2024 IEEE INTERNATIONAL CONFERENCE ON PROGNOSTICS AND HEALTH MANAGEMENT, ICPHM 2024, 2024, : 74 - 83
  • [39] A knowledge based computable model for reversible grammar of the Spanish language
    Cardeñosa, J
    Gallardo, C
    Proceedings of the Ninth IASTED International Conference on Artificial Intelligence and Soft Computing, 2005, : 227 - 232
  • [40] AUTOMATED STRUCTURE DISCOVERY AND PARAMETER TUNING OF NEURAL NETWORK LANGUAGE MODEL BASED ON EVOLUTION STRATEGY
    Tanaka, Tomohiro
    Moriya, Takafumi
    Shinozaki, Takahiro
    Watanabe, Shinji
    Hori, Takaaki
    Duh, Kevin
    2016 IEEE WORKSHOP ON SPOKEN LANGUAGE TECHNOLOGY (SLT 2016), 2016, : 665 - 671