AVOIDING TWO-LEVEL SYSTEMS: USING A TEXTUAL ENVIRONMENT TO ADDRESS CROSS-CUTTING CONCERNS

David Greaves

2006

Abstract

We believe that, owing to the paucity of textual facilities in contemporary HLLs (high-level languages), large software systems frequently require an additional level of meta-programming to sufficiently address their cross-cutting concerns. A programming team can either implement its system by both writing the main application in a slightly customised language and the corresponding customised compiler for it, or it can use a macro pre-processor to provide the remaining cross-cutting requirements not found in the chosen HLL. With either method, a two-level system arises. This paper argues that textual macro-programming is an important cross-cutting medium, that existing proposals for sets of pre-defined AOP (aspect-oriented programming) join-points are overly constrictive and that a generalised meta-programming facility, based on a textual environment should instead be directly embedded in HLLs. The paper presents the semantics of the main additions required in an HLL designed with this feature. We recommend that the textual features must be compiled out as the reference semantics would generally be too inefficient if naively interpreted.

References

  1. Futamura, Y. (1999). Partial evaluation of computation process - an approach to a compiler-compiler. HigherOrder and Symbolic Computation, 12(4):381-391.
  2. Kiczales, G., Hilsdale, E., Hugunin, J., Kersten, M., Palm, J., and Griswold, W. G. (2001). An overview of AspectJ. Lecture Notes in Computer Science, 2072:327- 355.
  3. Milner, R. (1978). A theory of type polymorphism in programming. Journal of Computer and System Sciences, 17(3):348-375.
  4. Volder, K. D. (1999). Aspect-oriented logic meta programming.
Download


Paper Citation


in Harvard Style

Greaves D. (2006). AVOIDING TWO-LEVEL SYSTEMS: USING A TEXTUAL ENVIRONMENT TO ADDRESS CROSS-CUTTING CONCERNS . In Proceedings of the First International Conference on Software and Data Technologies - Volume 1: ICSOFT, ISBN 978-972-8865-69-6, pages 71-76. DOI: 10.5220/0001318100710076


in Bibtex Style

@conference{icsoft06,
author={David Greaves},
title={AVOIDING TWO-LEVEL SYSTEMS: USING A TEXTUAL ENVIRONMENT TO ADDRESS CROSS-CUTTING CONCERNS},
booktitle={Proceedings of the First International Conference on Software and Data Technologies - Volume 1: ICSOFT,},
year={2006},
pages={71-76},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001318100710076},
isbn={978-972-8865-69-6},
}


in EndNote Style

TY - CONF
JO - Proceedings of the First International Conference on Software and Data Technologies - Volume 1: ICSOFT,
TI - AVOIDING TWO-LEVEL SYSTEMS: USING A TEXTUAL ENVIRONMENT TO ADDRESS CROSS-CUTTING CONCERNS
SN - 978-972-8865-69-6
AU - Greaves D.
PY - 2006
SP - 71
EP - 76
DO - 10.5220/0001318100710076