Published November 28, 2001
| Version v1
Journal article
Open
Compiling Abstract State Machines to C++
Description
Abstract State Machines (ASMs) have been widely used to specify soft-ware and hardware systems. Only a few of these specifications are executable, although there are several interpreters and some compilers. This paper introduces a compilation scheme to transform an ASM specification in the syntax of the ASM-Workbench into C++. In particular, we transform algebraic types, pattern matching, functional expressions, dynamic functions, and simultaneous updates to C++ code. The main aim of this compilation scheme is to preserve the specification structure in the generated code without generating inefficient code. The implemented compiler was used successfully in the industrial FALKO application at Siemens Corporate Technology.
Files
jucs_article_27837.pdf
Files
(211.5 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:5f92e8ec787302fab12776cd7b9e7f91
|
211.5 kB | Preview Download |