Abstract
As software becomes more and more complex, tool-support for software analysis and transformation is increasingly important. While such tools exist for languages like Java, Smalltalk and C++, the support for C# is poor. In this paper we present Recoder.C#, a library for static metaprogramming of C# programs. Recoder.C# constructs a fully cross-referenced syntax tree and it supports transformation of this syntax tree. The Recoder parser is fully inversive, which means that the original code layout (comments, indentation) is preserved as far as possible. Recoder.C# can be used to build sophisticated analysis and transformation tools, including software metrics and refactorings.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
The Recoder Homepage, http://recoder.sourceforge.net
Ludwig, A., Heuzeroth, D.: Metaprogramming in the large. In: Butler, G., Jarzabek, S. (eds.) GCSE 2000. LNCS, vol. 2177, p. 178. Springer, Heidelberg (2001)
The Recoder .C# Homepage, http://recoder-cs.sourceforge.net
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kis, G., Orosz, J., Pintér, M., László, Z., Genssler, T. (2003). Metaprogramming Library for the C# Programming Language. In: Böszörményi, L., Schojer, P. (eds) Modular Programming Languages. JMLC 2003. Lecture Notes in Computer Science, vol 2789. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45213-3_32
Download citation
DOI: https://doi.org/10.1007/978-3-540-45213-3_32
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40796-6
Online ISBN: 978-3-540-45213-3
eBook Packages: Springer Book Archive