Title :
Using Views to Specify a Synchronization Aspect for Object-Oriented Languages
Author :
Stirewalt, R.E.K. ; Dillon, L.K. ; Behrends, R.
Author_Institution :
Dept. of Comput. Sci. & Eng., Michigan State Univ.
Abstract :
It is widely held that programming language extensions that support separation of concerns and that are also integrative benefit development, maintenance and reuse of software designs and code. Such is the intent of our synchronization units model (Szumo), which unifies new features for expressing synchronization in a multi-threaded program with existing features of an object-oriented language. However, to make effective use of a language extension, a programmer needs an accurate mental model of how new concepts affect and are affected by existing concepts. Moreover, good separation dictates that interactions between these concepts should be understandable at the level of the new concepts. This suggests that the semantics of Szumo should be specifiable as a self-contained partial specification, called a view, and the semantics of its integration with other language features should be specifiable by view composition. To our knowledge, however, view-based approaches have not been applied in specifying the semantics of language extensions. Moreover, devising separable views that serve to simplify comprehensibility of a complex specification is still more of an art than a science. This paper presents a case study in the use of views in structuring a Z specification of Szumo
Keywords :
formal specification; multi-threading; object-oriented languages; synchronisation; Z specification; integration semantics; integrative benefit development; multithreaded program; object-oriented languages; programming language extensions; self contained partial specification; software maintenance; software reuse; synchronization units model; view-based approaches; Access protocols; Computer languages; Computer science; Design engineering; Logic programming; Object oriented modeling; Programming profession; Software design; System recovery; Yarn;
Conference_Titel :
Software Engineering Workshop, 2006. SEW '06. 30th Annual IEEE/NASA
Conference_Location :
Columbia, MD
Print_ISBN :
0-7695-2624-1
DOI :
10.1109/SEW.2006.41