{"title":"A statecharts interpreter and compiler with semantic variability","authors":"Joeri Exelmans, S. Van Mierlo, H. Vangheluwe","doi":"10.1145/3550356.3561569","DOIUrl":null,"url":null,"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.","PeriodicalId":182662,"journal":{"name":"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings","volume":"82 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3550356.3561569","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
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.
Statecharts的形式化已被证明对复杂反应系统的建模是有用的。然而,这种形式主义没有单一的、精确的语义。不同的Statechart工具和标准做出了自己的(不兼容的)语义决策。我们没有为Statecharts提出一个新的语义,而是提出了一个具有可配置语义可变性的Statecharts解释器和编译器的实现。其语义特征模型基于现有的Big-Step Modeling Languages (bsml)框架,由六个(大多数)正交的语义选项维度组成,并在特征模型中捕获。我们对“优先级”语义维度的实现进行了深入的描述,这与BSML的规定略有不同。特征模型还包含一组约束,用于修剪非唯一行为的语义变体。这些约束是通过一种新技术发现的,我们也会对此进行解释。