Engineering Grammar-Based Type Checking for Graph Rewriting Languages

被引:0
|
作者
Yamamoto, Naoki [1 ]
Ueda, Kazunori [1 ]
机构
[1] Waseda University, Department of Computer Science and Engineering, Tokyo,169-8555, Japan
基金
日本学术振兴会;
关键词
Algebra - Context sensitive grammars - Formal languages - Graphic methods - Model checking - Modeling languages - Trees (mathematics);
D O I
暂无
中图分类号
学科分类号
摘要
The ability to handle evolving graph structures is important both for programming languages and modeling languages. Of various languages that adopt graphs as primary data structures, a graph rewriting language LMNtal provides features of both (concurrent) programming languages and modeling languages, and its implementation unifies ordinary program execution and model checking functionalities. Unlike pointer manipulation in imperative languages, LMNtal allows us to manipulate graph structures in such a way that the well-formedness of graphs is guaranteed by the language itself. However, since the shapes of graphs can be complex and diverse compared to algebraic data structures such as lists and trees, it is a non-obvious important task to formulate types of graphs to verify individual programs. With this motivation, this paper discusses LMNtal ShapeType, a type checking framework that applies the basic idea of Structured Gamma to a concrete graph rewriting language. Types are defined by generative grammars written as LMNtal rules, and type checking of LMNtal programs can accordingly be done by exploiting the model checking features of LMNtal itself. We gave a full implementation of type checking exploiting the features of the LMNtal meta-interpreter and confirmed that it works for practical operations on various graph structures, including single-step and multi-step operations on non-algebraic data structures and data structures with numerical shape constraints. © 2013 IEEE.
引用
收藏
页码:114612 / 114628
相关论文
共 50 条
  • [1] Engineering Grammar-Based Type Checking for Graph Rewriting Languages
    Yamamoto, Naoki
    Ueda, Kazunori
    [J]. IEEE ACCESS, 2022, 10 : 114612 - 114628
  • [2] Grammar-based graph compression
    Maneth, Sebastian
    Peternek, Fabian
    [J]. INFORMATION SYSTEMS, 2018, 76 : 19 - 45
  • [3] A graph grammar-based approach for graph layout
    Liu, Yufeng
    Zeng, Xiaoqin
    Zou, Yang
    Zhang, Kang
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2018, 48 (09): : 1523 - 1535
  • [4] A hybrid grammar-based approach to multimodal languages specification
    D'Ulizia, Arianna
    Ferri, Fernando
    Grifoni, Patrizia
    [J]. ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2007: OTM 2007 WORKSHOPS, PT 1, PROCEEDINGS, 2007, 4805 : 367 - +
  • [5] Grammar-Based Process Model Representation for Probabilistic Conformance Checking
    Watanabe, Akio
    Takahashi, Yousuke
    Ikeuchi, Hiroki
    Matsuda, Kotaro
    [J]. 2022 4TH INTERNATIONAL CONFERENCE ON PROCESS MINING (ICPM 2022), 2022, : 88 - 95
  • [6] GRAPH GRAMMAR-BASED DESCRIPTION OF OBJECT-BASED SYSTEMS
    JANSSENS, D
    ROZENBERG, G
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1991, 489 : 341 - 404
  • [7] GGREADA: A graph grammar-based machine design algorithm
    Linda C. Schmidt
    Jonathan Cagan
    [J]. Research in Engineering Design, 1997, 9 : 195 - 213
  • [8] Graph composition in a graph grammar-based method for automata network evolution
    Luerssen, MH
    Powers, DMW
    [J]. 2005 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-3, PROCEEDINGS, 2005, : 1653 - 1660
  • [9] GGREADA: A graph grammar-based machine design algorithm
    Schmidt, LC
    Cagan, J
    [J]. RESEARCH IN ENGINEERING DESIGN-THEORY APPLICATIONS AND CONCURRENT ENGINEERING, 1997, 9 (04): : 195 - 213
  • [10] Exploiting spatial relations for grammar-based specification of multidimensional languages
    Penna, Giuseppe Della
    Orefice, Sergio
    D'Angelo, Andrea
    [J]. KNOWLEDGE AND INFORMATION SYSTEMS, 2023, 65 (10) : 3995 - 4020