Third International Conference on Information Technology and Applications (ICITA'05) Volume 1
Integrating Code Generators into the C# Language
Sydney, Australia
July 04-July 07
ISBN: 0-7695-2316-1
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.
Citation:
Dirk Draheim, Christof Lutteroth, Gerald Weber, "Integrating Code Generators into the C# Language," icita, vol. 1, pp.107-110, Third International Conference on Information Technology and Applications (ICITA'05) Volume 1, 2005