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 条
  • [41] Connecting domain-specific features to source code: towards the automatization of dashboard generation
    Vazquez-Ingelmo, Andrea
    Jose Garcia-Penalvo, Francisco
    Theron, Roberto
    Amo Filva, Daniel
    Fonseca Escudero, David
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2020, 23 (03): : 1803 - 1816
  • [42] Semi-Automatic Approaches for Exploiting Shifter Patterns in Domain-Specific Sentiment Analysis
    Brazdil, Pavel
    Muhammad, Shamsuddeen H.
    Oliveira, Fatima
    Cordeiro, Joao
    Silva, Fatima
    Silvano, Purificacao
    Leal, Antonio
    MATHEMATICS, 2022, 10 (18)
  • [43] Generation of high-performance code based on a domain-specific language for algorithmic skeletons
    Wrede, Fabian
    Rieger, Christoph
    Kuchen, Herbert
    JOURNAL OF SUPERCOMPUTING, 2020, 76 (07): : 5098 - 5116
  • [44] Mapping aspect-oriented domain-specific model to code for real time system
    Song, Haitao
    Song, Zhumei
    Zheng, Shixiong
    WCICA 2006: SIXTH WORLD CONGRESS ON INTELLIGENT CONTROL AND AUTOMATION, VOLS 1-12, CONFERENCE PROCEEDINGS, 2006, : 6426 - +
  • [45] Decoupling Server and Client Code Through Cloud-Native Domain-Specific Functions
    Perez-Alvarez, Jose Miguel
    Mos, Adrian
    Hanrahan, Benjamin, V
    Adenuga, Iyadunni J.
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 1174 - 1176
  • [46] Domain-Specific Optimization and Generation of High-Performance GPU Code for Stencil Computations
    Rawat, Prashant Singh
    Vaidya, Miheer
    Sukumaran-Rajam, Aravind
    Ravishankar, Mahesh
    Grover, Vinod
    Rountev, Atanas
    Pouchet, Louis-Noel
    Sadayappan, P.
    PROCEEDINGS OF THE IEEE, 2018, 106 (11) : 1902 - 1920
  • [47] A Machine Learning Approach to Convert Pseudo-Code to Domain-Specific Programming Language
    Neal, Jacob
    Rogers, Shane
    Parra, Esteban
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION, ICSME, 2023, : 442 - 452
  • [48] Domain-specific Sentiment Analysis Approaches for Code-mixed Social Network Data
    Pravalika, A.
    Oza, Vishvesh
    Meghana, N. P.
    Kamath, Sowmya S.
    2017 8TH INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND NETWORKING TECHNOLOGIES (ICCCNT), 2017,
  • [49] Generation of high-performance code based on a domain-specific language for algorithmic skeletons
    Fabian Wrede
    Christoph Rieger
    Herbert Kuchen
    The Journal of Supercomputing, 2020, 76 : 5098 - 5116
  • [50] Commentary and Challenges to Grusec and Davidov's Domain-Specific Approach
    Dunn, Judy
    CHILD DEVELOPMENT, 2010, 81 (03) : 710 - 714