Extensible programming languages and their compilers use highly modular specifications of languages and language extensions that allow a variety of different language feature sets to be easily imported into the programming environment by the programmer. Our model of extensible languages is based on higher-order attribute grammars and an extension called "forwarding" that mimics a simple rewriting process. It is designed so that no additional attribute definitions need to be written when combining a language with language extensions. Thus, programmers can remain unaware of the underlying attribute grammars when building customized languages by importing various extensions. In this paper we show how aspects and the aspect weaving process from Aspect-Oriented Programming can be specified as a modular language extension and imported into a base language specified in an extensible programming language framework.
|Number of pages
|Electronic Notes in Theoretical Computer Science
|Published - Dec 2003
|LDTA'2003 - Language Descriptions, Tools and Applications - Warsaw, Poland
Duration: Apr 12 2003 → Apr 13 2003