Title of article :
A type-theoretic interpretation of pointcuts and advice
Author/Authors :
Jay Ligatti، نويسنده , , David Walker، نويسنده , , Steve Zdancewic، نويسنده ,
Issue Information :
دوهفته نامه با شماره پیاپی سال 2006
Pages :
27
From page :
240
To page :
266
Abstract :
This article defines the semantics of MinAML, an idealized aspect-oriented programming language, by giving a type-directed translation from a user-friendly external language to a compact, well-defined core language. We argue that our framework is an effective way to give semantics to aspect-oriented programming languages in general because the translation eliminates shallow syntactic differences between related constructs and permits definition of an elegant and extensible core language. The core language extends the simply-typed lambda calculus with two central new abstractions: explicitly labeled program points and first-class advice. The labels serve both to trigger advice and to mark continuations that the advice may return to. These constructs are defined orthogonally to the other features of the language and we show that our abstractions can be used in both functional and object-oriented contexts. We prove Preservation and Progress lemmas for our core language and show that the translation from MinAML source into core is type-preserving. Together these two results imply that the source language is type safe. We also consider several extensions to our basic framework including a general mechanism for analyzing the current call stack.
Keywords :
Aspects , Aspect-oriented programming languages , Type theory , Operational semantics
Journal title :
Science of Computer Programming
Serial Year :
2006
Journal title :
Science of Computer Programming
Record number :
1079905
Link To Document :
بازگشت