2003 · 137 citations · 10 references
ComputingComputer ScienceProgramming LanguagesSemanticsSyntaxAbstract Syntax TreesAspect SemanticsFunctional ProgrammingObject-oriented ProgrammingType CheckingType SystemsAspect-oriented ProgrammingInvariantsLambda CalculusLambda Calculus SemanticsLexical ScopingProgram InvariantsTyped Lambda Calculus
This paper define the semantics of MinAML, an idealized aspect-oriented programming language, by giving a type-directed translation from its user-friendly external language to its 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 a clean, easy-to-understand, and easy-to-reason-about 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. The labels are well-scoped and the language as a whole is well-typed. Consequently, programmers can use lexical scoping in the standard way to prevent aspects from interfering with local program invariants.
10
A Syntactic Approach to Type Soundness
Andy Wright, Matthias Felleisen · Information and Computation · 1994 · 1.1K citations
A type-theoretic approach to higher-order modules with sharing
Robert Harper, Mark Lillibridge · 1994 · 291 citations · Full text
Harold Ossher, Peri Tarr · 2000 · 213 citations · Full text
Abstract models of memory management
Greg Morrisett, Matthias Felleisen, Robert Harper · 1995 · 129 citations · Full text