Design, Semantics and Implementation of the Ptolemy Programming Language: A Language with Quantified Typed Events

Date
2015-07-31
Authors
Rajan, Hridesh
Leavens, Gary
Rajan, Hridesh
Journal Title
Journal ISSN
Volume Title
Publisher
Source URI
Altmetrics
Authors
Research Projects
Organizational Units
Computer Science
Organizational Unit
Journal Issue
Series
Abstract

Implicit invocation (II) and aspect-oriented (AO) languages provide software designers with related but distinct mechanisms and strategies for decomposing programs into modules and composing modules into systems. II languages have explicitly announced events that run registered observer methods. AO languages have implicitly announced events that run method-like but more powerful advice. A limitation of II languages is their inability to refer to a large set of events succinctly. They also lack the expressive power of AO advice. Limitations of AO languages include potentially fragile dependence on syntactic structure that may hurt maintainability, and limits on the available set of implicit events and the reflective contextual information available. Quantified, typed events, as implemented in our language Ptolemy, solve all these problems. This paper describes Ptolemy and explores its advantages relative to both II and AO languages.

Description
Keywords
aspect-oriented programming languages, quantification, obliviousness, fragile pointcuts, modular reasoning, joinpoint, context exposure, type checking
Citation
Collections