University of Twente Student Theses

Login

Implementing flexible, extensible composition operators.

Hemert, Teun van (2013) Implementing flexible, extensible composition operators.

[img]
Preview
PDF
3MB
Abstract:The Co-op/III language lets developers implement their own composition operators. It achieves this by reifying method invocations as messages. These messages can then be manipulated by using bindings, which rewrite messages, and constraints, which let the developer order and control the application of bindings. In this thesis we investigate how we can develop a flexible and extensible execution framework for such composition operators in the Co-op/III language. To achieve this, first the exact requirements for such an implementation are defined, as well as a precise specification of bindings and constraints in Co-op/III. Two prototype implementations are implemented and described in detail, one using only Java constructs, and one using a framework for advanced dispatching. To show that these prototype implementations conform to the specification of bindings and constraints in Co-op/III, test cases are derived from the developed specification and these test cases are used to show that the prototypes have identical semantics. Finally, the prototype implementations are evaluated and compared based on software quality aspects and conformance to the developed requirements. The results of this evaluation show that while both the Java-only approach and the approach using the advanced-dispatching framework can be used to implement the execution framework, there are some shortcomings in the advanced-dispatching framework that limit the usefulness of the framework.
Item Type:Essay (Master)
Faculty:EEMCS: Electrical Engineering, Mathematics and Computer Science
Subject:54 computer science
Programme:Computer Science MSc (60300)
Link to this item:http://purl.utwente.nl/essays/63405
Export this item as:BibTeX
EndNote
HTML Citation
Reference Manager

 

Repository Staff Only: item control page