A WAVE of DSLs: Automated Sub-Language Integration in LC/NC Modeling Environments Using a Sub-Execution Protocol
Modern \gls{lcnc} platforms allow the creation of models for domain-specific use cases, effectively realizing them as \glspl{dsl}. Language workbenches facilitate the syntactic and semantic definition of these \gls{lcnc} languages. Sometimes, a domain must be decomposed into multiple subdomains, resulting in several sub-\glspl{dsl} interacting within a host-\gls{dsl}. However, engineering multi-\gls{dsl} systems remains cumbersome: Although language workbenches support cross-model references between languages, these connections usually operate purely on a syntactic level, lacking dedicated support for a unified execution. In prior work, we introduced a protocol to automate this integration for sub-languages defined on the same platform as the host language. This paper presents an extended, fully conceptualized \textit{Sub-Execution Protocol} implemented within the (meta-)\gls{ime} of Cinco Cloud. This protocol enables a graphical \gls{dsl} like WAVE to dynamically integrate models from new and existing languages, including both textual and graphical, at runtime, without modifying, extending, or recompiling the host metamodel or execution engine. It allows users to integrate models as typed executable modules into their workflows via syntactic embedding, native generator invocation, or dedicated sub-execution, operating across three execution modalities (Eager, Lazy, and Bundled). We assess the approach end-to-end using a WAVE workflow that integrates two sub-languages: WebStory, a \gls{dsl} for specifying web-based point-and-click adventures, and Rig, a graphical \gls{dsl} for \gls{cicd} pipelines. Together, they outline the orchestration of modeling and deploying a web application in a polyglot, domain-specific fashion.
Authors
- Daniel Sami Mitwalli (ORCID: https://orcid.org/0009-0005-3155-0552)
- Tiziana Margaria (ORCID: https://orcid.org/0000-0002-5547-9739)
- Sebastian Teumert (ORCID: https://orcid.org/0000-0002-6483-3162)
Institutions
- University of Limerick (IE)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11801915/v1
- Primary Topic
- Model-Driven Software Engineering Techniques
- Type
- preprint