Beyond operator-precedence grammars and languages

作者:

Highlights:

摘要

Operator Precedence Languages (OPL) are deterministic context-free and have desirable properties. OPL are parallely parsable, and, when structurally compatible, are closed under Boolean operations, concatenation and star; they include the Input Driven languages. OPL use three relations between two terminal symbols, to assign syntax structure to words. We extend such relations to k-tuples of consecutive symbols, in agreement with strictly locally testable regular languages. For each k, the new corresponding class of Higher-order Operator Precedence languages properly includes the OPL and enjoy many of their properties. OPL are a strict hierarchy based on k, which contains maximal languages.

论文关键词:Operator precedence languages,Input-driven languages,Visibly pushdown languages,Deterministic context-free languages,Syntactic tags,Boolean closure,Locally testable languages,Local parsability,Grammar inference

论文评审过程:Received 30 March 2018, Accepted 2 April 2020, Available online 6 May 2020, Version of Record 8 May 2020.

论文官网地址:https://doi.org/10.1016/j.jcss.2020.04.006