Title :
An object-oriented metaprogramming system
Author :
Madsen, Ole Lehrmann ; Nogaard, C.
Author_Institution :
Dept. of Comput. Sci., Aarhus Univ., Denmark
Abstract :
The Mjolner programming environment is discussed. A number of tools in this environment are metaprograms, i.e., programs that manipulate other programs. The metaprogramming system is grammar-based in the sense that a metaprogramming tool may be generated from the grammar of any language. For each syntactic category of the language, a corresponding class is generated. The syntactic hierarchy of the grammar is mapped into a corresponding class hierarchy. This object-oriented representation of programs is further exploited by including a set of more general classes that view a program as an abstract syntax tree and by allowing the user to add semantic attributes in subclasses.<>
Keywords :
context-free grammars; data structures; programming environments; software tools; Mjolner; abstract syntax tree; class hierarchy; context free grammars; data structures; grammar; metaprograms; object-oriented metaprogramming system; programming environment; semantic attributes; software tools; syntactic category; syntactic hierarchy; Computer science; Electronic mail; Object oriented modeling; Object oriented programming; Production systems; Programming environments; Security; Tree data structures;
Conference_Titel :
System Sciences, 1988. Vol.II. Software Track, Proceedings of the Twenty-First Annual Hawaii International Conference on
Conference_Location :
Kailua-Kona, HI, USA
Print_ISBN :
0-8186-0842-0
DOI :
10.1109/HICSS.1988.11831