Computer and Modernization

Previous Articles     Next Articles

Analysis and Comparison of Mainstream Code Generation Method

  

  1. (College of IOT Engineering, Hohai University, Changzhou 213022, China)
  • Received:2015-06-08 Online:2015-11-12 Published:2015-11-16

Abstract:  For the problems, such as the long cycle of software development, the gradual increasement of software cost and rewriting code, code generation technology is a feasible approach. This paper not only exposited the basic principle and characteristics of code generation, but also analyzed and summarized domestic and foreign code generation methods. Taking a game scene as an example, three mainstream methods were implemented respectively, their advantages and disadvantages were analyzed sequentially. The future trends of the code generation technology were prospected at the end of the paper. All of these would provide some reference for the future work.

Key words: code generation, model driven architecture, template engine, extensible stylesheet language transformation, extensible markup language

CLC Number: