arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1705.09093cs.FL
收藏

高阶操作符先后次序语言

Higher-Order Operator Precedence Languages

Stefano Crespi Reghizzi, Matteo Pradella

摘要:

Floyd的操作符先后次序(OP)语言是一个确定性的上下文无关语言家族,具有许多理想的属性。它们是局部和并行可解析的,并且具有兼容结构的语言在布尔运算、连接和星形下是封闭的;它们适当地包括可视下推(或输入驱动)语言家族。OP语言基于任意两个连续的终结符之间的三种关系,它们为单词分配语法结构。我们扩展这样的关系,连续的终端符号的k元组,通过使用模型的严格本地可测试的正则语言的顺序k至少为3。高阶操作符先后次序语言(HOP)的新的相应类正确地包括OP语言,并且它仍然包括在确定性(也是反向的)上下文自由家族中。我们证明了布尔封闭的结构兼容的HOP语言的每个子类。在每个子家族中,顶级语言被称为最大语言。我们表明,这样的语言是由一个简单的取消规则定义,我们证明了几个属性,特别是最大的语言,使一个无限的层次结构有序的参数k。HOP语言是替代OP语言的候选者,在各种应用程序中,它们已经取得了成功,尽管有时限制太多。

英文摘要:

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 at least 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑