TY - GEN
T1 - Improving implementation of code generators
T2 - 38th Latin America Conference on Informatics, CLEI 2012
AU - Franky, Maria Consuelo
AU - Pavlich-Mariscal, Jaime A.
PY - 2012
Y1 - 2012
N2 - 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.
AB - 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.
KW - Code Generation
KW - Computer Aided Software Engineering (CASE)
KW - Frameworks
KW - Web Applications Development
UR - http://www.scopus.com/inward/record.url?scp=84874311566&partnerID=8YFLogxK
U2 - 10.1109/CLEI.2012.6427199
DO - 10.1109/CLEI.2012.6427199
M3 - Conference contribution
AN - SCOPUS:84874311566
SN - 9781467307932
T3 - 38th Latin America Conference on Informatics, CLEI 2012 - Conference Proceedings
BT - 38th Latin America Conference on Informatics, CLEI 2012 - Conference Proceedings
Y2 - 1 October 2012 through 5 October 2012
ER -