Title :
A Design Pattern to Build Executable DSMLs and Associated V&V Tools
Author :
Combemale, Benoit ; Cregut, X. ; Pantel, Marc
Author_Institution :
IRISA, Univ. of Rennes 1, Rennes, France
Abstract :
Model executability is now a key concern in model-driven engineering, mainly to support early validation and verification (V&V). Some approaches allow to weave executability into metamodels, defining executable domain-specific modeling languages (DSMLs). Model validation can then be achieved by simulation and graphical animation through direct interpretation of the conforming models. Other approaches address model executability by model compilation, allowing to reuse the virtual machines or V&V tools existing in the target domain. Nevertheless, systematic methods are currently not available to help the language designer in the definition of such an execution semantics and related tools. For instance, simulators are mostly hand-crafted in a tool specific manner for each DSML. In this paper, we propose to reify the elements commonly used to support state-based execution in a DSML. We infer a design pattern (called Executable DSML pattern) providing a general reusable solution for the expression of the executability concerns in DSMLs. It favors flexibility and improves reusability in the definition of semantics-based tools for DSMLs. We illustrate how this pattern can be applied to ease the development of V&V tools.
Keywords :
simulation languages; software reusability; virtual machines; V&V tools; design pattern; domain-specific modeling languages; early validation and verification; executable DSML; metamodels; model compilation; model executability; model-driven engineering; state-based execution; virtual machine reuse; Abstracts; Animation; Computational modeling; Concrete; Runtime; Semantics; Unified modeling language; Model Driven Engineering; Software Language Engineering; Validation & Verification;
Conference_Titel :
Software Engineering Conference (APSEC), 2012 19th Asia-Pacific
Conference_Location :
Hong Kong
Print_ISBN :
978-1-4673-4930-7
DOI :
10.1109/APSEC.2012.79