Počet záznamů: 1  

Interoperable domain-specific languages families for code generation

  1. 1.
    0382692 - ÚI 2014 RIV GB eng J - Článek v odborném periodiku
    Malohlava, M. - Plášil, F. - Bureš, Tomáš - Hnětynka, P.
    Interoperable domain-specific languages families for code generation.
    Software-Practice & Experience. Roč. 43, č. 5 (2013), s. 479-499. ISSN 0038-0644. E-ISSN 1097-024X
    Grant CEP: GA ČR GD201/09/H057
    GRANT EU: European Commission(XE) ASCENS 257414
    Grant ostatní: GA AV ČR(CZ) GAP103/11/1489
    Program: FP7
    Výzkumný záměr: CEZ:AV0Z10300504
    Klíčová slova: code generation * domain specific languages * models reuse * extensible languages * specification * program synthesis
    Kód oboru RIV: JC - Počítačový hardware a software
    Impakt faktor: 1.148, rok: 2013

    This paper has been motivated by experience gained with specification and code generation of control elements for a software component platform and general-purpose programming language like Java and C. The problem to be addressed is two-fold: first, several domain-specific languages (DSL) are to be employed to express different element concerns (architecture, deployment context, code pattern) and second, porting to another general-purpose language should avoid modification of the specification and related code generation process as much as possible. In both respects, the classical template-based code generation technique proved to be inflexible, requiring the code generator to be blurred with ad hoc encoded DSL facets. The paper addresses the problem by introducing the concept of interoperable DSL family. Each member of the family is built around its core language, which can be further specialized by embedding into a target programming language. Interoperability of these DSLs is achieved at the level of abstract syntax trees (ASTs) with help of queries. As a proof of the concept, we have implemented the queries via the AST transformation rules of the Stratego/XT framework. In the evaluation, we provide a comparison with the original template-based implementation, which clearly indicates the DSL family and AST transformation benefits. We also provide examples of application areas where the concept of interoperable DSL family can be employed (and also indicate how this can be accomplished).
    Trvalý link: http://hdl.handle.net/11104/0212840

     
     
Počet záznamů: 1  

  Tyto stránky využívají soubory cookies, které usnadňují jejich prohlížení. Další informace o tom jak používáme cookies.