PARALLEL INCREMENTAL LR PARSING

被引:0
作者
VISWANATHAN, N [1 ]
SRIKANT, YN [1 ]
机构
[1] INDIAN INST SCI,DEPT COMP SCI & AUTOMAT,BANGALORE 560012,KARNATAKA,INDIA
来源
COMPUTER LANGUAGES | 1994年 / 20卷 / 03期
关键词
PARALLEL PARSING; INCREMENTAL COMPILERS; LR GRAMMARS; PROGRAMMING ENVIRONMENTS; PARALLEL; ALGORITHMS;
D O I
10.1016/0096-0551(94)90002-7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A new parallel parsing algorithm for block structured languages, capable of parsing incrementally also, is presented. The parser is for LR grammars. A shared memory multiprocessor model is assumed. We associate processors to parse corrections independently with minimum reparsing. A new compatibility condition is used by the associated processors to terminate parsing, and prevent redoing the work of other processors. We give an efficient way of assembling the final parse tree from the individual parses. Our compatibility condition is simple and it can be computed at the parser construction time itself. Further, the compatibility condition can be tested while parsing, in constant time. The parser can be integrated into the editor. We give an estimate for speedup by our parallel parsing and parallel incremental parsing methods. We have obtained considerable speedups in simulation studies of our algorithm.
引用
收藏
页码:151 / 175
页数:25
相关论文
共 50 条
  • [21] Parallel incremental association rule mining framework for public opinion analysis
    Song, Yingjie
    Yang, Li
    Wang, Yaohua
    Xiao, Xiong
    You, Sheng
    Tang, Zhuo
    [J]. INFORMATION SCIENCES, 2023, 630 : 523 - 545
  • [22] An efficient parallel parsing algorithm for context-free languages based on Earley's method
    Atsumi, K
    Masuyama, S
    [J]. IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 1996, E79A (04) : 547 - 552
  • [23] Probabilistic parsing strategies
    Nederhof, Mark-Jan
    Satta, Giorgio
    [J]. JOURNAL OF THE ACM, 2006, 53 (03) : 406 - 436
  • [24] A Survey and Recommendations for Distributed, Parallel, Single Pass, Incremental Bayesian Classification based on MapReduce for Big Data
    Shafiq, M. Omair
    Yang, Yibing
    Fekri, Maryam
    [J]. 2017 IEEE 19TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS WORKSHOPS (HPCCWS): MULTICORE AND MULTITHREADED ARCHITECTURES AND ALGORITHMS (M2A2 2017), 2017, : 42 - 49
  • [25] Parsing with Derivatives A Functional Pearl
    Might, Matthew
    Darais, David
    Spiewak, Daniel
    [J]. ACM SIGPLAN NOTICES, 2011, 46 (09) : 189 - 195
  • [26] Adaptive Nonparametric Image Parsing
    Nguyen, Tam V.
    Lu, Canyi
    Sepulveda, Jose
    Yan, Shuicheng
    [J]. IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2015, 25 (10) : 1565 - 1575
  • [27] From Image Parsing to Painterly Rendering
    Zeng, Kun
    Zhao, Mingtian
    Xiong, Caiming
    Zhu, Song-Chun
    [J]. ACM TRANSACTIONS ON GRAPHICS, 2009, 29 (01):
  • [28] From regular expression matching to parsing
    Bille, Philip
    Li Gortz, Inge
    [J]. ACTA INFORMATICA, 2022, 59 (06) : 709 - 724
  • [29] Understanding Query Interfaces by Statistical Parsing
    Su, Weifeng
    Wu, Hejun
    Li, Yafei
    Zhao, Jing
    Lochovsky, Frederick H.
    Cai, Hongmin
    Huang, Tianqiang
    [J]. ACM TRANSACTIONS ON THE WEB, 2013, 7 (02) : 1 - 22
  • [30] Parsing and translation of expressions by genetic programming
    Jackson, David
    [J]. GECCO 2005: Genetic and Evolutionary Computation Conference, Vols 1 and 2, 2005, : 1681 - 1688