Title :
Integrating code generators into the C# language
Author :
Draheim, Dirk ; Lutteroth, Christof ; Weber, Gerald
Author_Institution :
Inst. of Comput. Sci., Freie Univ. Berlin, Germany
Abstract :
In this paper, we show how the concept of code generators can be safely implemented into an object oriented language. Modern languages like Java and C# begin to offer advanced features for generative programming, like generic types. Our own extension of C# generalizes the concept of generic types by combining it with reflection. With reflection, many code generation tasks can be accomplished for which generic types are insufficient. By balancing the availability of code generation features with their safety, we are able to detect potential generation errors statically.
Keywords :
C language; Java; program compilers; C# language; Java; code generators; generation errors; generative programming; object oriented language; Computer bugs; Computer languages; Computer science; Databases; Java; Programming; Reflection; Software engineering; Software safety; Tree data structures;
Conference_Titel :
Information Technology and Applications, 2005. ICITA 2005. Third International Conference on
Print_ISBN :
0-7695-2316-1
DOI :
10.1109/ICITA.2005.161