Bridging AOP to SMP: turning GCC into a metalanguage preprocessor

  • Authors:
  • Tiago Stein D'Agostini;Antônio Augusto Fröhlich

  • Affiliations:
  • Federal University of Santa Catarina, Florianópolis - Brazil;Federal University of Santa Catarina, Florianópolis - Brazil

  • Venue:
  • Proceedings of the 2005 ACM symposium on Applied computing
  • Year:
  • 2005
  • Generic Programming

    ISAAC '88 Proceedings of the International Symposium ISSAC'88 on Symbolic and Algebraic Computation

Quantified Score

Hi-index 0.00

Visualization

Abstract

This article presents an strategy to combine important software engineering techniques, Static Metaprogramming (SMP) and generic Programming (GP) with Aspect Oriented Programming (AOP). These rely on specific language tools that, today, cannot be deployed in conjunction, thus imposing limitations on the software development process. Our strategy consists in adapting the C++ compiler to act as a SMP preprocessor. This preprocessor is able to parse the input program, execute eventual metaprograms, and output the resulting single-level program for further processing by an aspect weaver.