DocumentCode :
2007416
Title :
Using Template Metaprogramming to Enhance Reuse in Visitor-Based Model Interpreters
Author :
Hill, James H. ; Gokhale, Aniruddha
fYear :
2012
fDate :
11-13 April 2012
Firstpage :
5
Lastpage :
14
Abstract :
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.
Keywords :
C++ template metaprogramming; Visitor software design pattern; model interpreters; model-driven engineering;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Engineering of Computer Based Systems (ECBS), 2012 IEEE 19th International Conference and Workshops on
Conference_Location :
Novi Sad, Serbia
Print_ISBN :
978-1-4673-0912-7
Type :
conf
DOI :
10.1109/ECBS.2012.48
Filename :
6195163
Link To Document :
بازگشت