Cargando…
Structuring the State and Behavior of ASMs: Introducing a Trait-Based Construct for Abstract State Machine Languages
Abstract State Machine (ASM) theory is a well-known state-based formal method to analyze, verify, and specify software and hardware systems. Nowadays, as in other state-based formal methods, the proposed specification languages for ASMs still lack easy-to-comprehend language constructs for type abst...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7242048/ http://dx.doi.org/10.1007/978-3-030-48077-6_17 |
_version_ | 1783537170079809536 |
---|---|
author | Paulweber, Philipp Pescosta, Emmanuel Zdun, Uwe |
author_facet | Paulweber, Philipp Pescosta, Emmanuel Zdun, Uwe |
author_sort | Paulweber, Philipp |
collection | PubMed |
description | Abstract State Machine (ASM) theory is a well-known state-based formal method to analyze, verify, and specify software and hardware systems. Nowadays, as in other state-based formal methods, the proposed specification languages for ASMs still lack easy-to-comprehend language constructs for type abstractions to describe reusable and maintainable specifications. Almost all built-in behaviors are implicitly defined inside a concrete ASM language implementation and thus, the behavior is hidden from the language user. In this paper, we present a new ASM syntax extension based on traits, which allows the specifier (language user) to define new type abstractions in the form of structure and behavior definitions to reuse, maintain, structure, and extend the functionality in ASM specifications. We describe the proposed language construct by defining its syntax and semantics. The decision to use a trait-based syntax extension over other object-oriented language constructs like interfaces or mixins was motivated and driven by the results of previously conducted empirical studies. Moreover, we outline details about the implementation of the trait-based syntax extension in our Corinthian Abstract State Machine (CASM) language implementation. |
format | Online Article Text |
id | pubmed-7242048 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
record_format | MEDLINE/PubMed |
spelling | pubmed-72420482020-05-22 Structuring the State and Behavior of ASMs: Introducing a Trait-Based Construct for Abstract State Machine Languages Paulweber, Philipp Pescosta, Emmanuel Zdun, Uwe Rigorous State-Based Methods Article Abstract State Machine (ASM) theory is a well-known state-based formal method to analyze, verify, and specify software and hardware systems. Nowadays, as in other state-based formal methods, the proposed specification languages for ASMs still lack easy-to-comprehend language constructs for type abstractions to describe reusable and maintainable specifications. Almost all built-in behaviors are implicitly defined inside a concrete ASM language implementation and thus, the behavior is hidden from the language user. In this paper, we present a new ASM syntax extension based on traits, which allows the specifier (language user) to define new type abstractions in the form of structure and behavior definitions to reuse, maintain, structure, and extend the functionality in ASM specifications. We describe the proposed language construct by defining its syntax and semantics. The decision to use a trait-based syntax extension over other object-oriented language constructs like interfaces or mixins was motivated and driven by the results of previously conducted empirical studies. Moreover, we outline details about the implementation of the trait-based syntax extension in our Corinthian Abstract State Machine (CASM) language implementation. 2020-04-22 /pmc/articles/PMC7242048/ http://dx.doi.org/10.1007/978-3-030-48077-6_17 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic. |
spellingShingle | Article Paulweber, Philipp Pescosta, Emmanuel Zdun, Uwe Structuring the State and Behavior of ASMs: Introducing a Trait-Based Construct for Abstract State Machine Languages |
title | Structuring the State and Behavior of ASMs: Introducing a Trait-Based Construct for Abstract State Machine Languages |
title_full | Structuring the State and Behavior of ASMs: Introducing a Trait-Based Construct for Abstract State Machine Languages |
title_fullStr | Structuring the State and Behavior of ASMs: Introducing a Trait-Based Construct for Abstract State Machine Languages |
title_full_unstemmed | Structuring the State and Behavior of ASMs: Introducing a Trait-Based Construct for Abstract State Machine Languages |
title_short | Structuring the State and Behavior of ASMs: Introducing a Trait-Based Construct for Abstract State Machine Languages |
title_sort | structuring the state and behavior of asms: introducing a trait-based construct for abstract state machine languages |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7242048/ http://dx.doi.org/10.1007/978-3-030-48077-6_17 |
work_keys_str_mv | AT paulweberphilipp structuringthestateandbehaviorofasmsintroducingatraitbasedconstructforabstractstatemachinelanguages AT pescostaemmanuel structuringthestateandbehaviorofasmsintroducingatraitbasedconstructforabstractstatemachinelanguages AT zdunuwe structuringthestateandbehaviorofasmsintroducingatraitbasedconstructforabstractstatemachinelanguages |