期刊文献+

基于特定领域建模的代码生成器研究 被引量:1

Research of the Code Generation Based on Domain-specific Modeling
在线阅读 下载PDF
导出
摘要 针对从软件模型到程序代码自动生成的问题,研究了特定领域建模生成器,把深度优先算法和广度优先算法运用到系统生成中。提出了MetaEdit+环境下,基于广度优先算法和基于深度优先算法的代码生成器实现方法。实现了代码自动生成,同时提高了生成代码的可读性,最后结合电子万年历的实例进行验证。 To the problem of code generated from software model automatically, domain-specific modeling generator is studied. Depth-first algorithm and breadth-first algorithm are applied in the generation of system, and the implementation methods of code generator based on the depth-first algorithm and breadth-first algorithm in environ- ment of MetaEdit + has been put forward. Code generation is implemented, and at the same time the readability of the generated code is improved, at last, combined with electronic calendar example for validation.
出处 《科学技术与工程》 北大核心 2014年第7期51-54,共4页 Science Technology and Engineering
关键词 特定领域建模 MetaEdit+ 代码生成器 深度优先算法 广度优先算法 domain-specific modeling MetaEdit + generator depth-first algorithm breadth- first algorithm
  • 相关文献

参考文献5

  • 1尹彦君.WEB应用代码自动生成平台中代码生成系统的研究与实现.北京:北京工业大学,2007.
  • 2Case M. MetaEdit +5.0 user' s guide, http://www, metacase, corn/ support/50/manuals/index, html, 2012,12.
  • 3Pohjonen R. Metamodeling made easy-MetaEdit + (tool demonstra- tion). Gluck R, Lowry M, eds. Proc of the Generative Programming and Component Engineering, 4th Int' 1 Conf ( GPCE 2005 ), LNCS 3676, 2005:442-446.
  • 4Kelly S, Tolvanen J P. Domain-Specific Modeling. Wiley-IEEE Com- puter Society Press, 2008.
  • 5Fowler M, Thought Works. Domain-Soecific Lan~ua~es( 领域特定语言)ThoughtWorks,译.北京:机械工业出版社,2013.

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部