• DocumentCode
    1565814
  • 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
  • Volume
    1
  • fYear
    2005
  • Firstpage
    107
  • 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;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Technology and Applications, 2005. ICITA 2005. Third International Conference on
  • Print_ISBN
    0-7695-2316-1
  • Type

    conf

  • DOI
    10.1109/ICITA.2005.161
  • Filename
    1488779