UniAspect: a language-independent aspect-oriented programming framework

  • Authors:
  • Akira Ohashi;Kazunori Sakamoto;Tomoyuki Kamiya;Reisha Humaira;Satoshi Arai;Hironori Washizaki;Yoshiaki Fukazawa

  • Affiliations:
  • Waseda University, Tokyo, Japan;Waseda University, Tokyo, Japan;Waseda University, Tokyo, Japan;Waseda University, Tokyo, Japan;Waseda University, Tokyo, Japan;Waseda University, Tokyo, Japan;Waseda University, Tokyo, Japan

  • Venue:
  • Proceedings of the 2012 workshop on Modularity in Systems Software
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Existing AOP tools, typified by AspectJ, are proposed as extensions of a single language. Therefore, most existing AOP tools cannot deal with cross-cutting concerns, which are scattered on many modules implemented in two or more languages. We propose a novel language-independent AOP framework named UniAspect. UniAspect translates programs written in various languages into a Unified Code Object, which is our common representation of source code. And it achieves the modularization of scattered cross-cutting concerns in multiple languages by weaving aspects through the Unified Code Object. In this paper, we introduce a case study of the implementation of logs in a web application that is implemented in Java and JavaScript. Its result shows that UniAspect achieves the modularization of these concerns by a single aspect.