...
首页> 外文期刊>Electronic Communications of the EASST >Defining Models - Meta Models versus Graph Grammars
【24h】

Defining Models - Meta Models versus Graph Grammars

机译:定义模型-元模型与图文法

获取原文
           

摘要

The precise specification of software models is a major concern in model-driven design of object-oriented software. Metamodelling and graph grammars are apparent choices for such specifications. Metamodelling has several advantages: it is easy to use, and provides procedures that check automatically whether a model is valid or not. However, it is less suited for proving properties of models, or for generating large sets of example models. Graph grammars, in contrast, offer a natural procedure - the derivation process - for generating example models, and they support proofs because they define a graph language inductively. However, not all graph grammars that allow to specify practically relevant models are easily parseable. In this paper, we propose contextual star grammars as a graph grammar approach that allows for simple parsing and that is powerful enough for specifying non-trivial software models. This is demonstrated by defining program graphs, a language-independent model of object-oriented programs, with a focus on shape (static structure) rather than behavior.
机译:软件模型的精确规范是面向对象软件的模型驱动设计中的主要关注点。元建模和图形语法是此类规范的明显选择。元建模具有以下优点:易于使用,并提供自动检查模型是否有效的过程。但是,它不适合用于模型的性质证明或生成大量示例模型。相反,图文法提供了自然的过程-推导过程-用于生成示例模型,并且它们支持证明,因为它们归纳地定义了图语言。但是,并非所有允许指定实际相关模型的图语法都易于解析。在本文中,我们提出了上下文星型文法作为图文法,它允许简单的解析,并且足够强大地用于指定非平凡的软件模型。通过定义程序图(一种面向对象程序的语言独立模型),并着重于形状(静态结构)而不是行为,可以证明这一点。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号