Cyclic Operator Precedence Grammars for Improved Parallel Parsing

被引:0
|
作者
Chiari, Michele [1 ]
Mandrioli, Dino [2 ]
Pradella, Matteo [2 ,3 ]
机构
[1] TU Wien, Inst Comp Engn, Treitlstr 3, A-1040 Vienna, Austria
[2] Politecn Milan, DEIB, Piazza Leonardo Da Vinci 32, I-20133 Milan, Italy
[3] CNR, IEIIT, Via Ponzio 34-5, I-20133 Milan, Italy
来源
关键词
Operator Precedence Languages; Cyclic Precedence Relations; Parallel Parsing; LANGUAGES;
D O I
10.1007/978-3-031-66159-4_8
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Operator precedence languages (OPL) enjoy the local parsability property, which essentially means that a code fragment enclosed within a pair of markers-playing the role of parentheses-can be compiled with no knowledge of its external context. Such a property has been exploited to build parallel compilers for languages formalized as OPLs. It has been observed, however, that when the syntax trees of the sentences have a linear substructure, its parsing must necessarily proceed sequentially making it impossible to split such a subtree into chunks to be processed in parallel. Such an inconvenience is due to the fact that so far much literature on OPLs has assumed the hypothesis that the equality precedence relation cannot be cyclic. We present an enriched version of operator precedence grammars which allows to remove the above hypothesis, therefore providing a little more expressive generality, and to further optimize parallel compilation.
引用
收藏
页码:98 / 113
页数:16
相关论文
共 50 条
  • [1] Parallel parsing of operator precedence grammars
    Barenghi, Alessandro
    Reghizzi, Stefano Crespi
    Mandrioli, Dino
    Pradella, Matteo
    [J]. INFORMATION PROCESSING LETTERS, 2013, 113 (07) : 245 - 249
  • [2] NOTE ON WEAK OPERATOR PRECEDENCE GRAMMARS
    SUDBOROUGH, IH
    [J]. INFORMATION PROCESSING LETTERS, 1977, 6 (06) : 213 - 218
  • [3] EXTENDED OPERATOR PRECEDENCE PARSING ALGORITHM
    HENDERSON, DS
    LEVY, MR
    [J]. COMPUTER JOURNAL, 1976, 19 (03): : 229 - 233
  • [4] NOTE ON WEAK OPERATOR PRECEDENCE GRAMMARS
    SUDBOROUGH, IH
    [J]. INFORMATION PROCESSING LETTERS, 1978, 7 (05) : 213 - 218
  • [5] CONDITIONS FOR EXTENDED OPERATOR PRECEDENCE PARSING
    WILLIAMS, MH
    [J]. COMPUTER JOURNAL, 1979, 22 (02): : 164 - 168
  • [6] Operator Precedence for Data-Dependent Grammars
    Afroozeh, Ali
    Izmaylova, Anastasia
    [J]. PEPM'16: PROCEEDINGS OF THE 2016 ACM SIGPLAN WORKSHOP ON PARTIAL EVALUATION AND PROGRAM MANIPULATION, 2016, : 13 - 24
  • [7] Beyond operator-precedence grammars and languages
    Reghizzi, Stefano Crespi
    Pradella, Matteo
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2020, 113 : 18 - 41
  • [8] OPERATOR PRECEDENCE GRAMMARS AND THE NON-COUNTING PROPERTY
    CRESPIREGHIZZI, S
    GUIDA, G
    MANDRIOLI, D
    [J]. SIAM JOURNAL ON COMPUTING, 1981, 10 (01) : 174 - 191
  • [9] A parsing algorithm of natural language based on operator precedence
    Yang, X
    Wan, JC
    [J]. PROCEEDINGS OF THE 2005 IEEE INTERNATIONAL CONFERENCE ON NATURAL LANGUAGE PROCESSING AND KNOWLEDGE ENGINEERING (IEEE NLP-KE'05), 2005, : 73 - 78
  • [10] CORRECTNESS OF AN EXTENDED OPERATOR-PRECEDENCE PARSING ALGORITHM
    HORSPOOL, RN
    LEVY, MR
    [J]. INFORMATION PROCESSING LETTERS, 1987, 24 (04) : 265 - 273