Skip to Main content Skip to Navigation
Conference papers

Revisiting Visitors for Modular Extension of Executable DSMLs

Abstract : Executable Domain-Specific Modeling Languages (xDSMLs) are typically defined by metamodels that specify their abstract syntax, and model interpreters or compilers that define their execution semantics. To face the proliferation of xDSMLs in many domains, it is important to provide language engineering facilities for opportunistic reuse, extension, and customization of existing xDSMLs to ease the definition of new ones. Current approaches to language reuse either require to anticipate reuse, make use of advanced features that are not widely available in programming languages, or are not directly applicable to metamodel-based xDSMLs. In this paper, we propose a new language implementation pattern, named Revisitor, that enables independent extensibility of the syntax and semantics of metamodel-based xDSMLs with incremental compilation and without anticipation. We seamlessly implement our approach alongside the compilation chain of the Eclipse Modeling Framework, thereby demonstrating that it is directly and broadly applicable in various modeling environments. We show how it can be employed to incrementally extend both the syntax and semantics of the fUML language without requiring anticipation or re-compilation of existing code, and with acceptable performance penalty compared to classical handmade visitors.
Document type :
Conference papers
Complete list of metadata

Cited literature [25 references]  Display  Hide  Download
Contributor : Thomas Degueule Connect in order to contact the contributor
Submitted on : Monday, July 24, 2017 - 10:34:59 PM
Last modification on : Thursday, November 18, 2021 - 9:24:02 PM


Files produced by the author(s)



Manuel Leduc, Thomas Degueule, Benoit Combemale, Tijs van der Storm, Olivier Barais. Revisiting Visitors for Modular Extension of Executable DSMLs. 2017 ACM/IEEE 20th International Conference on Model Driven Engineering Languages and Systems, Sep 2017, Austin, United States. ⟨10.1109/MODELS.2017.23⟩. ⟨hal-01568169⟩



Record views


Files downloads