Y A general parsing algorithm with context matching for context-sensitive graph grammars

被引:1
|
作者
Zou, Yang [1 ]
Zeng, Xiaoqin [1 ]
Zhu, Yun [1 ]
机构
[1] Hohai Univ, Sch Comp & Informat, Inst Intelligence Sci & Technol, Nanjing, Peoples R China
基金
美国国家科学基金会;
关键词
Visual languages; Context-sensitive graph grammar; Parsing algorithm; Context matching; Production-set partitioning; VISUAL LANGUAGES; SPECIFICATION; FORMALISM;
D O I
10.1007/s11042-021-11076-8
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context-sensitive graph grammars have been intuitive and rigorous formalisms for specifying visual programming languages, as they are sufficient expressive and equipped with parsing mechanisms. Parsing has been a fundamental issue in the research of context-sensitive graph grammars. However, the existent parsing algorithms are either inefficient or confined to a minority of graph grammars. This paper proposes a general parsing algorithm with two embedded strategies, context matching and production-set partitioning. The two strategies can greatly narrow down the search space of redexes and thus significantly improve parsing efficiency, even though the worst-case time complexity is not theoretically reduced. Moreover, a detailed case study and an experiment are provided accordingly to demonstrate the paring process and performance of the proposed algorithm.
引用
收藏
页码:273 / 297
页数:25
相关论文
共 50 条
  • [1] A general parsing algorithm with context matching for context-sensitive graph grammars
    Yang Zou
    Xiaoqin Zeng
    Yun Zhu
    Multimedia Tools and Applications, 2022, 81 : 273 - 297
  • [2] A PARSING ALGORITHM FOR CONTEXT-SENSITIVE GRAMMARS
    VOLDMAN, GS
    PROGRAMMING AND COMPUTER SOFTWARE, 1981, 7 (06) : 302 - 307
  • [3] Parsing Strategies for Context-Sensitive Graph Grammars
    Zou, Yang
    Zeng, Xiaoqin
    Liu, Yufeng
    PROCEEDINGS OF THE 12TH INTERNATIONAL SYMPOSIUM ON VISUAL INFORMATION COMMUNICATION AND INTERACTION, VINCI 2019, 2019,
  • [4] Attributed Context-Sensitive Graph Grammars
    Furst, Luka
    ELEKTROTEHNISKI VESTNIK-ELECTROCHEMICAL REVIEW, 2014, 81 (1-2): : 27 - 32
  • [5] Research on context of implicit context-sensitive graph grammars
    Zou Yang
    Lu Jian
    Tao Xianping
    JOURNAL OF COMPUTER LANGUAGES, 2019, 51 : 241 - 260
  • [6] Research on the Top-Down Parsing Method for Context-Sensitive Graph Grammars
    Wang, Yi
    Zeng, XiaoQin
    Ding, Han
    PLOS ONE, 2015, 10 (11):
  • [7] CONTEXT-SENSITIVE PARSING
    WOODS, WA
    COMMUNICATIONS OF THE ACM, 1970, 13 (07) : 437 - &
  • [8] Unsupervised Discontinuous Constituency Parsing with Mildly Context-Sensitive Grammars
    Yang, Songlin
    Levy, Roger P.
    Kim, Yoon
    PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL 2023, VOL 1, 2023, : 5747 - 5766
  • [9] A Symbol-Based Extension of Parsing Expression Grammars and Context-Sensitive Packrat Parsing
    Kuramitsu, Kimio
    SLE'17: PROCEEDINGS OF THE 10TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING, 2017, : 26 - 37
  • [10] Constructing Confluent Context-sensitive Graph Grammars from Non-confluent Productions for Parsing Efficiency
    Zou, Yang
    Lue, Jian
    Zeng, Xiaoqin
    Ma, Xiaoxing
    Yang, Qiliang
    VISUAL INFORMATION COMMUNICATION, 2010, : 135 - +