arrow
返回

Engineering Grammar-Based Type Checking for Graph Rewriting Languages

delete2022-01-01
delete2
delete
OA
AI
N
Naoki Yamamoto *
K
Kazunori Ueda
DOI:10.1109/ACCESS.2022.3217913delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
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.
Keyword:
Programming
Data structures
Grammar
Syntactics
Computer languages
Data models
Writing
Data integrity
Dynamic data structures
graph grammars
graph rewriting
type checking

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

W
Waseda University
学者数:
1.0W
论文数: 8.7K
被引数: 8.3K
引用论文

引用论文

Comment on “Multiple repressive mechanisms in the hippocampus during memory formation”
err2016-07-29
err0
errOAAI
errRebecca S. Mathew; Hillary Mullan; Jan Krzysztof Blusztajn; Maria K. Lehtinen
err分享
err收藏
The solubility of solids in gases
err1957-05-01
err0
PREAI
errGeorge Washington Morey
err分享
err收藏
Neurological complications of cardiac surgery心脏手术的神经系统并发症
err2014-05-01
err0
errOAAI
errDavid L McDonagh; Miles Berger; Joseph P Mathew; Carmelo Graffagnino; Carmelo A Milano; Mark F Newman
err分享
err收藏
err分享
err收藏
Description of Clostridium phoceensis sp. nov., a new species within the genus Clostridium
err2016-11-01
err0
errOAAI
errM. Hosny; S. Benamar; G. Durand; N. Armstrong; C. Michelle; F. Cadoret; B. La Scola; N. Cassir
err分享
err收藏
没有更多内容