A statecharts interpreter and compiler with semantic variability
Open Access
- 23 October 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 722-727
Abstract
The Statecharts formalism has been proven useful for the modeling of complex reactive systems. However, the formalism has no single, precise semantics. Different Statechart tools and standards have made their own (incompatible) semantic decisions. Rather than proposing a new semantics for Statecharts, we present an implementation of a Statecharts interpreter and compiler with configurable semantic variability. Its semantic feature model is based on the existing framework of Big-Step Modeling Languages (BSMLs), and consists of six (mostly) orthogonal dimensions of semantic options, captured in a feature model. We provide an in-depth description of our implementation of the "Priority" semantic dimension, which differs slightly from what BSML prescribes. The feature model also consists of a small set of constraints that prune non-uniquely behaving semantic variants. These constraints were discovered with a novel technique, that we also explain.Keywords
Funding Information
- SB PhD fellow at FWO (1S70622N)
This publication has 5 references indexed in Scilit:
- BSML-mbeddr: integrating semantically configurable state-machine models in a C programming environment2016
- Deconstructing the semantics of big-step modelling languagesRequirements Engineering, 2010
- Concurrency analysis in the presence of procedures using a data-flow framework1991
- What is in a step: On the semantics of statecharts1991
- Statecharts: a visual formalism for complex systemsScience of Computer Programming, 1987