• DocumentCode
    3186960
  • Title

    Improving implementation of code generators: A regular-expression approach

  • Author

    Franky, M.C. ; Pavlich-Mariscal, Jaime A.

  • Author_Institution
    Dept. de Ing. de Sist., Pontificia Univ. Javeriana, Bogota, Colombia
  • fYear
    2012
  • fDate
    1-5 Oct. 2012
  • Firstpage
    1
  • Lastpage
    10
  • Abstract
    Code generators are important tools in software development, to automate repetitive coding tasks, facilitate portability, abstract implementation details, and reduce development costs. However, as the complexity of code generators grow, they tend to be harder to maintain, especially when there is a large amount of templates involved. This paper proposes an approach for code generation based on regular expression substitution. Instead of using templates for code generation, this approach transforms existing source code, using regular expression substitution, to implement the required functionality. We are currently applying this technique to strengthen the code generation framework of Heinsohn Business Technology, as part of the “Lion” project co-financed by Colciencias. Our experience shows that, although this approach has a steeper learning curve, it facilitates capitalization of the experience of software development organizations, selecting successfully modules that are taken as a reference source for code generation in future projects.
  • Keywords
    program compilers; software engineering; Heinsohn business technology; abstract implementation details; automate repetitive coding tasks; code generator implementation; facilitate portability; reduce development costs; regular expression approach; regular expression substitution; software development; source code; Computer aided software engineering; Generators; Java; Security; Skeleton; Software; Transforms; Code Generation; Computer Aided Software Engineering (CASE); Frameworks; Web Applications Development;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Informatica (CLEI), 2012 XXXVIII Conferencia Latinoamericana En
  • Conference_Location
    Medellin
  • Print_ISBN
    978-1-4673-0794-9
  • Type

    conf

  • DOI
    10.1109/CLEI.2012.6427199
  • Filename
    6427199