Higher-Order Operator Precedence Languages

被引:2
|
作者
Reghizzi, Stefano Crespi [1 ,2 ]
Pradella, Matteo [1 ,2 ]
机构
[1] Politecn Milan, DEIB, Via Ponzio 34-5, I-20134 Milan, Italy
[2] CNR, IEIIT, Via Ponzio 34-5, I-20134 Milan, Italy
来源
ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE | 2017年 / 252期
关键词
INFERENCE;
D O I
10.4204/EPTCS.252.11
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Floyd's Operator Precedence (OP) languages are a deterministic context-free family having many desirable properties. They are locally and parallely parsable, and languages having a compatible structure are closed under Boolean operations, concatenation and star; they properly include the family of Visibly Pushdown (or Input Driven) languages. OP languages are based on three relations between any two consecutive terminal symbols, which assign syntax structure to words. We extend such relations to k-tuples of consecutive terminal symbols, by using the model of strictly locally testable regular languages of order k >= 3. The new corresponding class of Higher-order Operator Precedence languages (HOP) properly includes the OP languages, and it is still included in the deterministic (also in reverse) context free family. We prove Boolean closure for each subfamily of structurally compatible HOP languages. In each subfamily, the top language is called max-language. We show that such languages are defined by a simple cancellation rule and we prove several properties, in particular that max-languages make an infinite hierarchy ordered by parameter k. HOP languages are a candidate for replacing OP languages in the various applications where they have have been successful though sometimes too restrictive.
引用
收藏
页码:86 / 100
页数:15
相关论文
共 50 条
  • [1] Weighted operator precedence languages
    Droste, Manfred
    Dueck, Stefan
    Mandrioli, Dino
    Pradella, Matteo
    INFORMATION AND COMPUTATION, 2022, 282
  • [2] Environmental Bisimulations for Higher-Order Languages
    Sangiorgi, Davide
    Kobayashi, Naoki
    Sumii, Eijiro
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2011, 33 (01):
  • [3] Coinductive techniques for higher-order languages
    Sangiorgi, Davide
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (131): : 1 - +
  • [4] EFFECT ANALYSIS IN HIGHER-ORDER LANGUAGES
    NEIRYNCK, A
    PANANGADEN, P
    DEMERS, AJ
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 1989, 18 (01) : 1 - 36
  • [5] Environmental bisimulations for higher-order languages
    Sangiorgi, Davide
    Kobayashi, Naoki
    Sumii, Eijiro
    22ND ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2007, : 293 - +
  • [6] Higher-order π-calculus with the mismatch operator
    Xu, Xian
    Ruan Jian Xue Bao/Journal of Software, 2014, 25 (11): : 2433 - 2451
  • [7] Environmental Bisimulations for Probabilistic Higher-order Languages
    Sangiorgi, Davide
    Vignudelli, Valeria
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2019, 41 (04):
  • [8] QPCF: Higher-Order Languages and Quantum Circuits
    Paolini, Luca
    Piccolo, Mauro
    Zorzi, Margherita
    JOURNAL OF AUTOMATED REASONING, 2019, 63 (04) : 941 - 966
  • [9] A REDUCTION SEMANTICS FOR IMPERATIVE HIGHER-ORDER LANGUAGES
    FELLEISEN, M
    FRIEDMAN, DP
    LECTURE NOTES IN COMPUTER SCIENCE, 1987, 259 : 206 - 223
  • [10] Graph IRs for Impure Higher-Order Languages
    Bracevac, Oliver
    Wei, Guannan
    Jia, Songlin
    Abeysinghe, Supun
    Jiang, Yuxuan
    Bao, Yuyan
    Rompf, Tiark
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA):