Work

Separate Compilation as a Separate Concern: A Framework for Language-Independent Selective Recompilation

Year: 2013
Type: dissertation
Abstract: Aspect-oriented programming allows developers to modularize cross-cutting concerns in software source code. Concerns are implemented as aspects, which can be re-used across projects. During compilation or at run-time, the cross-cutting aspects are "woven" into the base program code. After weaving, the aspect code is scattered across and tangled with base code and code from other aspects. Many aspects may affect the code generated by a single source module. It is difficult to predict which dependencies exist between base code modules and aspect modules. This language-specific information is, however, crucial for the development of a compiler that supports selective recompilation or incremental compilation. We propose a reusable, language-independent framework that aspect-oriented language developers can use to automatically detect and track dependencies, transparently enabling selective recompilation. Our implementation is based on Stratego/XT, a framework for developing transformation systems. By using simple and concise rewrite rules, it is very suitable for developing domain-specific languages.
Author: N. Bruning
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W16836832
Cites: 37
Cited by:
Related to: 10