Applying Template Meta-Programming Techniques for a Domain-Specific Visual Language--An Industrial Experience Report

Author(s):  
Mika Karaila ◽  
Tarja Systa
2015 ◽  
Vol 2015 ◽  
pp. 1-22
Author(s):  
Bart Janssens ◽  
Támas Bányai ◽  
Karim Limam ◽  
Walter Bosschaerts

In finite element methods, numerical simulation of the problem requires the generation of a linear system based on an integral form of a problem. Using C++ meta-programming techniques, a method is developed that allows writing code that stays close to the mathematical formulation. We explain the specifics of our method, which relies on the Boost.Proto framework to simplify the evaluation of our language. Some practical examples are elaborated, together with an analysis of the performance. The abstraction overhead is quantified using benchmarks.


2006 ◽  
Vol 14 (2) ◽  
pp. 81-110 ◽  
Author(s):  
Christophe Prud'homme

In this article, we present a domain specific embedded language inC++ that can be used in various contexts such as numerical projection onto a functional space, numerical integration, variational formulations and automatic differentiation. Albeit these tools operate in different ways, the language overcomes this difficulty by decoupling expression constructions from evaluation. The language is implemented using expression templates and meta-programming techniques and uses various Boost libraries. The language is exercised on a number of non-trivial examples and a benchmark presents the performance behavior on a few test problems.


Author(s):  
Federico Cabitza ◽  
Iade Gesso

In the last years, researchers are exploring the feasibility of visual language editors in domain-specific domains where their alleged user-friendliness can be exploited to involve end-users in configuring their artifacts. In this chapter, the authors present an experimental user study conducted to validate the hypothesis that adopting a visual language could help prospective end-users of an electronic medical record define their own document-related local rules. This study allows them to claim that their visual rule editor based on the OpenBlocks framework can be used with no particular training as proficiently as with specific training, and it was found user-friendly by the user panel involved. Although the conclusions of this study cannot be broadly generalized, the findings are a preliminary contribution to show the importance of visual languages in domain-specific rule definition by end-users with no particular IT skills, like medical doctors are supposed to represent.


Sign in / Sign up

Export Citation Format

Share Document