A method to simplify description and implementation of Graph Grammars
Zhan Shi, Xiaoqin Zeng, Song Huang, Zekun Qi, Hui Li, Bin Hu, Sainan Zhang, Yanyun Liu, Cailing Wang · 2015
A graph grammar is a formal tool for providing rigorous but intuitive ways to define visual languages. However, the description and implementation difficulties of graph grammars hinder their wide applications. This paper, first of all introduces a description mechanism for specifying the existing Edge-based Graph Grammar (EGG) by using the XML techniques. Then, based on the mechanism, a new parsing algorithm is proposed, which is easily designed and implemented by using the XML technique.