首页> 外文会议>Engineering of Computer Based Systems (ECBS), 2012 IEEE 19th International Conference and Workshops on >Using Template Metaprogramming to Enhance Reuse in Visitor-Based Model Interpreters
【24h】

Using Template Metaprogramming to Enhance Reuse in Visitor-Based Model Interpreters

机译:使用模板元编程来增强基于访问者的模型解释器的重用

获取原文
获取原文并翻译 | 示例

摘要

This paper discusses an approach called Metapro-grammable Interpreters for Model-driven Engineering (MIME), which integrates C++ meta-programming techniques into model interpreters for domain-specific modeling languages (DSMLs). The goal of MIME is to reduce reinvention of core model interpretation logic across model interpreters that use the Visitor software design pattern. Experience from applying MIME's approach to realistic DSMLs show it overcomes limitations of existing Visitor-based model interpreters by (1) decoupling interpreter-logic from generation-logic and (2) allowing developers to suppress either aspect of the model interpreter, while promoting maximal reuse of code.
机译:本文讨论了一种称为模型驱动工程(MIME)的Metapro-grammable解释器的方法,该方法将C ++元编程技术集成到了针对特定领域建模语言(DSML)的模型解释器中。 MIME的目标是减少使用来宾软件设计模式的模型解释器对核心模型解释逻辑的重塑。将MIME的方法应用于现实的DSML的经验表明,它克服了现有的基于访问者的模型解释器的局限,方法是:(1)将解释器逻辑与生成逻辑解耦;(2)允许开发人员抑制模型解释器的任何一个方面,同时促进最大程度的重用代码。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号