Title :
Application of design patterns for the self-development of a Java preprocessor
Author :
Komuro, Mutsumi ; Kumeta, Akefumi
Author_Institution :
Hitachi Ltd., Yokohama, Japan
Abstract :
An application of design patterns in the domain of language processing is presented. The target of the paper is a Java preprocessor which enables one, not only to add new features to the Java language but also to rewrite existing Java programs. Making use of several design patterns, including Reflection Architectural Pattern, we successfully create a framework for language processing in Java. In particular we design and implement a core language extension of Java so that self development and maintenance of the framework are possible. Several applications of the Java preprocessor and the framework are described, which include enumeration type definition, method tracer, and generic type definition mechanism
Keywords :
object-oriented languages; object-oriented programming; program processors; software reusability; type theory; Java language; Java preprocessor; Java programs; Reflection Architectural Pattern; core language extension; design patterns; enumeration type definition; generic type definition mechanism; language processing; method tracer; self development; Java;
Conference_Titel :
Computer Software and Applications Conference, 1998. COMPSAC '98. Proceedings. The Twenty-Second Annual International
Conference_Location :
Vienna
Print_ISBN :
0-8186-8585-9
DOI :
10.1109/CMPSAC.1998.716676