M, Toolchain and Language for Reusable Model Compilation
Preprint
Abstract
Complex software-driven systems often interleave distributed, concurrent computation processes with physical interactions with the environment. Developing these systems more efficiently and safely can be achieved by employing actionable, software-based models. From a high-level system model, engineers often need to derive multiple specialized models for different purposes, including simulation, deployment, and formal verification. Each of these target models usually rely on its own formalism, specification language, and execution platform. Traditionally, a compiler analyzes a program written in a programming language and generates executable code. In contrast, a model compiler processes a source model written in a modeling language and should ideally support the generation of multiple heterogeneous targets. However, most existing modeling languages are designed with a narrow focus, typically targeting only simulation or implementation. Multi-target compilation, when not considered during the language's early design, becomes significantly harder to achieve. In this paper, we introduce our initiative: a toolchain and modeling language called M, designed to support system modeling and multi-target compilation for model-driven engineering of complex, concurrent, and time-aware systems. M is a textual, grammar-driven language based on the actor model and extended with discrete-event scheduling semantics. It provides constructs for modeling system entities, message-based interactions, and time- or state-triggered reactions. From such models, M enables the systematic generation of diverse target artifacts while preserving semantic conformance to the original model. Moreover, M can serve as a middle language to which other modeling languages may anchor, thereby allowing them to benefit from its compilation framework.Keywords
All Related Versions
This publication has 49 references indexed in Scilit:
- Semantic Model‐based Systems Engineering based on KARMA: A Research and Practice Roadmap 2025INCOSE International Symposium, 2022
- General Modeling Language Supporting Model Transformations of MBSE (Part 2)INCOSE International Symposium, 2020
- General Modeling Language to Support Model‐based Systems Engineering Formalisms (Part 1)INCOSE International Symposium, 2020
- Models of Timed Systems2018
- What will it take? A view on adoption of model-based methods in practiceSoftware and Systems Modeling, 2012
- Domain-Specific Textual Meta-Modelling Languages for Model Driven EngineeringLecture Notes in Computer Science, 2012
- An Introductory Tutorial on JastAdd Attribute Grammars2011
- 4 Semantics of UML Models for Dynamic Behavior2010
- Model-Driven Analysis and Synthesis of Concrete SyntaxLecture Notes in Computer Science, 2006
- Model driven architecture: Principles and practiceSoftware and Systems Modeling, 2004