首页> 外文期刊>Journal of Visual Languages & Computing >Multi-amalgamated triple graph grammars: Formal foundation and application to visual language translation
【24h】

Multi-amalgamated triple graph grammars: Formal foundation and application to visual language translation

机译:多重融合三元图语法:形式基础及其在视觉语言翻译中的应用

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

摘要

Visual languages (VLs) facilitate software development by not only supporting communication and abstraction, but also by generating various artifacts such as code and reports from the same high-level specification. VLs are thus often translated to other formalisms, in most cases with bidirectionality as a crucial requirement to, e.g., support re-engineering of software systems. Triple Graph Grammars (TGGs) are a rule-based language to specify consistency relations between two (visual) languages from which bidirectional translators are automatically derived. TGGs are formally founded but are also limited in expressiveness, i.e., not all types of consistency can be specified with TGGs. In particular, 1-to-n correspondence between elements depending on concrete input models cannot be described. In other words, a universal quantifier over certain parts of a TGG rule is missing to generalize consistency to arbitrary size. To overcome this, we transfer the well-known multi-amalgamation concept from algebraic graph transformation to TGGs, allowing us to mark certain parts of rules as repeated depending on the translation context. Our main contribution is to derive TGG-based translators that comply with this extension. Furthermore, we identify bad smells on the usage of multi-amalgamation in TGGs, prove that multi-amalgamation increases the expressiveness of TGGs, and evaluate our tool support. (C) 2016 Elsevier Ltd. All rights reserved.
机译:视觉语言(VL)不仅通过支持通信和抽象,而且通过从同一高级规范生成各种工件(例如代码和报告)来促进软件开发。因此,VL通常会转换为其他形式主义,在大多数情况下,双向性是例如支持软件系统重新设计的关键要求。三重图文法(TGG)是一种基于规则的语言,用于指定两种(视觉)语言之间的一致性关系,并会从中自动导出双向翻译器。 TGG是正式成立的,但在表达性方面也受到限制,即,并非TGG可以指定所有类型的一致性。特别地,不能描述取决于具体输入模型的元件之间的一对一对应。换句话说,缺少TGG规则某些部分的通用量词,无法将一致性推广到任意大小。为了克服这个问题,我们将众所周知的多重融合概念从代数图转换为TGG,从而使我们可以根据翻译上下文将规则的某些部分标记为重复。我们的主要贡献是派生符合此扩展的基于TGG的翻译器。此外,我们在TGGs中使用多重融合识别出了难闻的气味,证明多重融合可提高TGG的表达能力,并评估了我们的工具支持。 (C)2016 Elsevier Ltd.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号