Semantics-Based Rapid Prototyping of a Machine Controller Language
We present the use of the semantics-based language generator SLANG to implement a machine controller language EFSM which is based on the principle of extended finite state machines. SLANG allows to rapidly prototype EFSM by a formal definition of the language’s abstract syntax, concrete syntax, type system, and denotational semantics; from this, SLANG generates a parser, a printer, a type checker, and an interpreter for EFSM. Subsequently we implement in EFSM a controller for an (idealized) robot vacuum cleaner and validate its operation by simulation and visualization. Our presentation may thus also serve as a template for the semantics-based rapid prototyping of other domain-specific languages.
Authors
- William Steingartner (ORCID: https://orcid.org/0000-0002-2852-9403)
- Wolfgang Schreiner (ORCID: https://orcid.org/0000-0001-9860-1557)
Institutions
- Johannes Kepler University of Linz (AT)
- Technical University of Košice (SK)
Publication Details
- Published
- 2024-11-13
- DOI
- https://doi.org/10.1109/informatics62280.2024.10900792
- Citations
- 1
- Primary Topic
- Model-Driven Software Engineering Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.49