一种动态软件体系结构下的代码生成方法  被引量:2

A Code Generation Method Based on Dynamic Software Architecture

在线阅读下载全文

作  者:范玥[1,2] 王淑玲[1] 

机构地区:[1]中国科学院沈阳计算技术研究所研究生部,沈阳110168 [2]中国科学院大学,北京100049

出  处:《小型微型计算机系统》2013年第3期515-519,共5页Journal of Chinese Computer Systems

摘  要:代码生成技术是一种根据用户的输入自动产生代码的一种开发方式,具有规范代码,提高效率,降低代码错误率等优点,但目前针对动态系统的代码生成方法探索较少.本文通过分析动态扩展系统和基于模板的代码生成形式,提出了一种将其二者进行整合的动态自适应开发框架下的代码生成方法,并给出了在实现过程中即插即用、即删即无和热部署等关键问题的解决办法.最后通过实验验证了本方法的正确性和可行性,具有适用于复杂功能的动态系统开发过程的特点.Code generation is the technique of building and using programs to write other programs.The central idea is to create consistent and high quality code automatically according to what users input.The features of code generation include regulating code,productivity,reducing the rate of coding error,etc.However,there is insufficient research done on the technique of dynamic code generation.Therefore,the paper analyzes dynamic extendable system and the forms of code generation based on template,and then it puts forward a new idea that we can integrate the two techniques above.And the paper also presents the solutions to the key problems such as plug-and-play,hot deployment during implementation process.At last the correctness and feasibility of this method is proved by experiment,and the method applies to dynamic development process of complex function very well.

关 键 词:代码生成 动态系统 模板 开发框架 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象