Being a boblycat in today's society is a bit like being Jesus. So
much hardship and pain, but it's all worth it when your peers come to
huggle and molest you when you score the winning goal!!

You are hereBlogs / karltk's blog / Combining Aspect-Oriented and Strategic Programming

Combining Aspect-Oriented and Strategic Programming


As promised, the preliminary draft of the paper Combining Aspect-Oriented and Strategic Programming by myself and Eelco Visser is now available.

Abstract

Properties such as logging, persistence, debugging, tracing, distribution, performance monitoring and exception handling occur in most programming paradigms and are normally very difficult or even impossible to modularize with traditional modularization mechanisms because they are cross-cutting. Recently, aspect-oriented programming has enjoyed recognition as a practical solution for separating these concerns. In this paper we describe an extension to the Stratego term rewriting language for capturing such properties. We show our aspect language offers a concise, practical and adaptable solution for dealing with unanticipated algorithm extension for forward data-flow propagation and dynamic type checking of terms. We briefly discuss some of the challenges faced when designing and implementing an aspect extension for and in a rule-based term rewriting system.