Sciweavers

OORASE
1999
Springer

OpenJava: A Class-Based Macro System for Java

14 years 4 months ago
OpenJava: A Class-Based Macro System for Java
This paper presents OpenJava, which is a macro system that we have developed for Java. With traditional macro systems designed for non object-oriented languages, it is difficult to write a number of macros typical in object-oriented programming since they require the ability to access a logical structure of programs. One of the drawbacks of traditional macro systems is that abstract syntax trees are used for representing source programs. This paper first points out this problem and then shows how OpenJava addresses this problem. A key idea of OpenJava is to use metaobjects, which was originally developed for reflective computing, for representing source programs.
Michiaki Tatsubori, Shigeru Chiba, Kozo Itano, Mar
Added 04 Aug 2010
Updated 04 Aug 2010
Type Conference
Year 1999
Where OORASE
Authors Michiaki Tatsubori, Shigeru Chiba, Kozo Itano, Marc-Olivier Killijian
Comments (0)