Title :
Towards integration of state machines and object-oriented languages
Author :
Madsen, Ole Lehrmann
Author_Institution :
Dept. of Comput. Sci., Aarhus Univ., Denmark
Abstract :
The goal of the paper is to obtain a one-to-one correspondence between state machines as e.g. used in UML and object oriented programming languages. A proposal is made for a language mechanism that makes it possible for an object to change its virtual bindings at run time. A state of an object may then be represented as a set of virtual bindings. One advantage of object orientation is that it provides an integrating perspective on many phases of software development, including analysis, design and implementation. For the static set of OO language constructs there is almost a one-to-one correspondence between analysis/design notations and OO programming languages. No such correspondence exists for the dynamic aspects, but the proposed state mechanism is a contribution to a better correspondence. The proposal is based on previous work by A. Taivalsaari (1993) and compared to the more complex features for changing object behavior as found in CLOS, Smalltalk, and predicate classes, it is simple and efficient to implement
Keywords :
finite state machines; object-oriented languages; object-oriented programming; CLOS; OO language constructs; OO programming languages; Smalltalk; UML; analysis/design notations; dynamic aspects; integrating perspective; language mechanism; object behavior; object oriented programming languages; one-to-one correspondence; predicate classes; software development; state machines; virtual bindings; Computer languages; Computer science; Object oriented programming; Proposals; Runtime; Unified modeling language;
Conference_Titel :
Technology of Object-Oriented Languages and Systems, 1999. Proceedings of
Conference_Location :
Nancy
Print_ISBN :
978-0-7695-0275-5
DOI :
10.1109/TOOLS.1999.779018