A Modular SOS for Action Notation
Peter D. Mosses December 1999 |
Abstract:
Modularity is an important pragmatic aspect of semantic
descriptions: good modularity is needed to allow the reuse of existing
descriptions when extending or changing the described language. In
denotational semantics, the issue of modularity has received much attention,
and appropriate abstractions have been introduced, so that definitions of
semantic functions may be independent of the details of how computations are
modelled. In structural operational semantics (SOS), however, this issue has
largely been neglected, and SOS descriptions of programming languages
typically exhibit rather poor modularity; the original SOS given for Action
Notation (the notation for the semantic entities used in action semantics)
suffered from the same problem.
This paper recalls a recent proposal, called MSOS, for obtaining a high degree of modularity in SOS, and presents an MSOS description of Action Notation. Due to its modularity, the MSOS description pin-points some complications in the design of Action Notation, and should facilitate the design of an improved version of the notation. It also provides a major example of the applicability of the MSOS framework. The reader is assumed to be familiar with conventional SOS and with the basic concepts and constructs of Action Notation. The description of Action Notation is formulated almost entirely in CASL, the common algebraic specification language Available as PostScript, PDF, DVI. |