首页> 外文期刊>Software and systems modeling >Converting metamodels to graph grammars: doing without advanced graph grammar features
【24h】

Converting metamodels to graph grammars: doing without advanced graph grammar features

机译:将元模型转换为图文法:不使用高级图文法功能

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

摘要

In this paper, we present a method to convert a metamodel in the form of a UML class diagram into a context-sensitive graph grammar whose language comprises precisely the set of model graphs (UML object diagrams) that conform to the input metamodel. Compared to other approaches that deal with the same problem, we use a graph grammar formalism that does not employ any advanced graph grammar features, such as application conditions, precedence rules, and production schemes. Specifically, we use Rekers and Schurr's Layered Graph Grammars, which may be regarded as a pure generalization of standard context-sensitive string grammars. We show that elementary grammatical features, i.e., grammar labels and context-sensitive graph rewrite rules, suffice to represent metamodels with arbitrary multiplicities and inheritance. Inspired by attribute string grammars, we also propose a graph-grammar-based approach to the semantic analysis of model graphs.
机译:在本文中,我们提出了一种将UML类图形式的元模型转换为上下文相关图文法的方法,该语言的语言恰好包含符合输入元模型的一组模型图(UML对象图)。与处理相同问题的其他方法相比,我们使用一种图文法形式主义,该图文法不采用任何高级图文法特征,例如应用条件,优先级规则和生产方案。具体来说,我们使用Rekers和Schurr的“分层图文法”,它们可以看作是标准上下文敏感字符串语法的纯泛化。我们证明了基本的语法特征,即语法标签和上下文相关的图重写规则,足以表示具有任意多重性和继承性的元模型。受属性字符串语法的启发,我们还提出了一种基于图文法的模型图语义分析方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号