Caos: A Reusable Scala Web Animator of Operational Semantics (Extended With Hands-On Tutorial)

04/28/2023
by   Jose Proença, et al.
0

This tool paper presents Caos: a methodology and a programming framework for computer-aided design of structural operational semantics for formal models. This framework includes a set of Scala libraries and a workflow to produce visual and interactive diagrams that animate and provide insights over the structure and the semantics of a given abstract model with operational rules. Caos follows an approach in which theoretical foundations and a practical tool are built together, as an alternative to foundations-first design ("tool justifies theory") or tool-first design ("foundations justify practice"). The advantage of Caos is that the tool-under-development can immediately be used to automatically run numerous and sizeable examples in order to identify subtle mistakes, unexpected outcomes, and unforeseen limitations in the foundations-under-development, as early as possible. We share two success stories of Caos' methodology and framework in our own teaching and research context, where we analyse a simple while-language and a choreographic language, including their operational rules and the concurrent composition of such rules. We further discuss how others can include Caos in their own analysis and Scala tools.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/20/2019

Formalizing Determinacy of Concurrent Revisions

Concurrent revisions is a concurrency control model designed to guarante...
research
02/06/2020

Collaboration vs. choreography conformance in BPMN

The BPMN 2.0 standard is a widely used semi-formal notation to model fro...
research
05/01/2021

A structural operational semantics for interactions with a look at loops

Message Sequence Charts Sequence Diagrams are graphical models that ...
research
06/01/2023

FreeCHR: An Algebraic Framework for CHR-Embeddings

We introduce the framework FreeCHR, which formalizes the embedding of Co...
research
08/13/2022

Automated Conversion of Axiomatic to Operational Models: Theory and Practice

A system may be modelled as an operational model (which has explicit not...
research
08/29/2020

SOS Rules for Equivalences of Reaction Systems

Reaction Systems (RSs) are a successful computational framework inspired...
research
05/27/2021

A Computational Model of the Institutional Analysis and Development Framework

The Institutional Analysis and Development (IAD) framework is a conceptu...

Please sign up or login with your details

Forgot password? Click here to reset