Skip to main content

Metaprogramming Library for the C# Programming Language

  • Conference paper
Modular Programming Languages (JMLC 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2789))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. The Recoder Homepage, http://recoder.sourceforge.net

  2. Ludwig, A., Heuzeroth, D.: Metaprogramming in the large. In: Butler, G., Jarzabek, S. (eds.) GCSE 2000. LNCS, vol. 2177, p. 178. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  3. The Recoder .C# Homepage, http://recoder-cs.sourceforge.net

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics