Home > Research > Publications & Outputs > A Lua-based AOP infrastructure
View graph of relations

A Lua-based AOP infrastructure

Research output: Contribution to Journal/MagazineJournal articlepeer-review

  • N. Cacho
  • T. Batista
  • F. Fernandes
<mark>Journal publication date</mark>10/2005
<mark>Journal</mark>Journal of the Brazilian Computer Society
Issue number3
Number of pages14
Pages (from-to)7-20
Publication StatusPublished
<mark>Original language</mark>English


In this paper we describe an aspect-oriented infrastructure to handle dynamic AOP based on the Lua language. This infrastructure is composed of AspectLua, a Lua extension that allows the declaration of aspects, and a meta-object protocol, LuaMOP, that unifies the introspective and reflective mechanisms provided by Lua. Aspects are defined in isolation using AspectLua and then they are weaved through LuaMOP. An important feature of AspectLua is to allow the association of aspects with undeclared elements of the application code (anticipated join points). Furthermore, it combines a range of features to make AOP easier and powerful.