arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1703.06353cs.SE
收藏

基于模板的代码生成的系统映射研究

Systematic Mapping Study of Template-based Code Generation

Eugene Syriani, Lechanceux Luhunu, Houari Sahraoui

摘要:

基于模板的代码生成(TBCG)是一种综合技术,它从称为模板的高级规范中生成代码。TBCG是模型驱动工程(MDE)中的一种流行技术,因为它们都强调抽象和自动化。考虑到工具和方法的多样性,有必要对现有的TBCG技术进行分类,以更好地指导开发人员进行选择。本文的目标是更好地了解TBCG技术和相关工具的特点,确定研究趋势,并评估MDE在这种代码合成方法中的作用的重要性。我们对文献进行了系统的映射研究,以描绘出有关TBCG趋势和用途的有趣画面。我们的研究表明,在过去的15年里,社区一直在使用TBCG。TBCG从MDE中受益匪浅。它偏爱基于输出的模板风格,并将高级建模语言作为输入。TBCG主要用于生成源代码,已在多个领域得到应用。此外,MDE和非MDE工具正在成为工业中有效的开发资源。

英文摘要:

Template-based code generation (TBCG) is a synthesis technique that produces code from high-level specifications, called templates. TBCG is a popular technique in model-driven engineering (MDE) given that they both emphasize abstraction and automation. Given the diversity of tools and approaches, it is necessary to classify existing TBCG techniques to better guide developers in their choices. The goal of this article is to better understand the characteristics of TBCG techniques and associated tools, identify research trends, and assess the importance of the role of MDE in this code synthesis approach. We conducted a systematic mapping study of the literature to paint an interesting picture about the trends and uses of TBCG. Our study shows that the community has been diversely using TBCG over the past 15 years. TBCG has greatly benefited from MDE. It has favored a template style that is output-based and high level modeling languages as input. TBCG is mainly used to generate source code and has been applied in a variety of domains. Furthermore, both MDE and non-MDE tools are becoming effective development resources in industry.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑