Exploiting Ecore's Reflexivity for Bootstrapping Domain-Specific Code-Generators

被引:3
|
作者
Joerges, Sven [1 ]
Steffen, Bernhard [1 ]
机构
[1] TU Dortmund, Chair Programming Syst, Dortmund, Germany
关键词
code generation; bootstrapping; metamodeling; reflexivity; EMF; model-driven development; service orientiation; domain-specific languages;
D O I
10.1109/SEW.2012.14
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper shows how the reflexivity of Ecore can be exploited for incrementally bootstrapping domain-specific code generators in the model-driven and service-oriented code generation framework Genesys. Key to this technology is the EMF SIB Generator, which, based on a very small set of manually written code generator services called SIBs, incrementally generates services in a bootstrapping fashion. To this end, it leverages Ecore's metamodel, which is specified in Ecore itself, to iteratively enlarge the set of SIBs until all concepts of Ecore are covered. On this basis, the EMF SIB Generator can then be used to generate all services required for constructing a corresponding code generator for any given metamodel specified in Ecore. This approach can be staightforwardly applied to arbitrary metalevels and elegantly enables the model-driven and service-oriented construction of code generators for Ecore-based domain-specific languages.
引用
收藏
页码:72 / 81
页数:10
相关论文
共 50 条
  • [21] Autoconj: Recognizing and Exploiting Conjugacy Without a Domain-Specific Language
    Hoffman, Matthew D.
    Johnson, Matthew J.
    Tran, Dustin
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 31 (NIPS 2018), 2018, 31
  • [22] Exploiting Partial Knowledge in Declarative Domain-Specific Heuristics for ASP
    Taupe, Richard
    Schekotihin, Konstantin
    Schueller, Peter
    Weinzierl, Antonius
    Friedrich, Gerhard
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2019, (306): : 22 - 35
  • [23] Design of Domain-Specific Software Systems with Parametric Code Templates
    Yermashov, Kostyantyn
    Wolke, Karsten
    Siemsen, Karl Hayo
    PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY, VOL 16, 2006, 16 : 201 - 206
  • [24] RUNTIME CODE GENERATION FOR INTERPRETED DOMAIN-SPECIFIC MODELING LANGUAGES
    Meyer, Tom
    Helms, Tobias
    Warnke, Tom
    Uhrmacher, Adelinde M.
    2018 WINTER SIMULATION CONFERENCE (WSC), 2018, : 605 - 615
  • [25] TruCom: Exploiting Domain-Specific Trust Networks for Multicategory Item Recommendation
    Liu, Haifeng
    Xia, Feng
    Chen, Zhen
    Asabere, Nana Yaw
    Ma, Jianhua
    Huang, Runhe
    IEEE SYSTEMS JOURNAL, 2017, 11 (01): : 295 - 304
  • [26] Exploiting Language Characteristics for Legal Domain-Specific Language Model Pretraining
    Nair, Inderjeet
    Modani, Natwar
    17TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EACL 2023, 2023, : 2516 - 2526
  • [27] Extracting domain-specific terms from unlabeled web documents by bootstrapping and term classifiers
    Liu, Tao
    Wang, Xiao-Long
    Liu, Bing-Quan
    Liu, Yuan-Chao
    Li, Ming-Hui
    2007 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOLS 1-8, 2007, : 1536 - 1541
  • [28] Meta3: a code generator framework for domain-specific languages
    Gábor Kövesdán
    László Lengyel
    Software & Systems Modeling, 2019, 18 : 2421 - 2439
  • [29] Meta3: a code generator framework for domain-specific languages
    Kovesdan, Gabor
    Lengyel, Laszlo
    SOFTWARE AND SYSTEMS MODELING, 2019, 18 (04): : 2421 - 2439
  • [30] Towards certifying domain-specific properties of synthesized code - Extended abstract
    Rosu, G
    Whittle, J
    ASE 2002: 17TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, 2002, : 289 - 294