一种面向正则语言的分层实现框架
A Layered Implementation Framework for Regular Languages
AI总结:
本文提出一个两层实现框架,通过规范化正则表达式、标识符唯一表示和等价类统一,实现大规模正则语言集合的紧凑、高效表示,并用实验验证其有效性。
摘要:
本文介绍了一个已实现系统的最基本特性,该系统旨在操作正则语言的表示。系统被组织为两个层次,使正则语言能够以越来越紧凑、高效和集成的方式表示。两个层次首先在高层面上进行介绍,足以设计和证明抽象算法的正确性。然后,详细描述它们的低层实现。在高层面,第一层提供了一种规范化正则表达式的概念,确保一个表达式的所有语法导数的集合是有限的。在低层面,规范化表达式由标识符(即标准整数)唯一表示。第二层称为背景层,引入了额外的概念来记录、集成和简化在第一层中计算的内容。在高层面,表示相同正则语言的规范化表达式可以通过将它们分组为等价类来统一。在每个类中选择一个最短表达式作为其代表,该代表可用于形成将表达式与其导数关联起来的方程。本文还提供了大量实验结果,以证明所提出框架的实用性,特别是它能够以统一的方式表示大规模的正则语言集合,其中不同的标识符指定不同的语言,这些语言既由一个小表达式表示,也由一个最小的确定性自动机表示。
英文摘要:
I present the most fundamental features of an implemented system designed to manipulate representations of regular languages. The system is structured into two layers, allowing regular languages to be represented in an increasingly compact, efficient, and integrated way. Both layers are first presented at a high level, adequate to design and prove the correctness of abstract algorithms. Then, their low-level implementations are described meticulously. At the high level, the first layer offers a notion of normalized regular expressions ensuring that the set of all syntactic derivatives of an expression is finite. At the low level, normalized expressions are uniquely represented by identifiers, i.e. by standard integers. The second layer, called the background, introduces additional notions to record, integrate, and simplify things computed within the first layer. At the high level, normalized expressions denoting the same regular language can be unified by grouping them into equivalence classes. One shortest expression is chosen in each class as its representative, which can be used to form equations relating expressions to their derivatives. This paper also presents extensive experimental results to demonstrate the usefulness of the proposed framework and, in particular, the fact that it makes it possible to represent large sets of regular languages in a unified way where distinct identifiers designate different languages, represented by both a small expression and a minimal deteministic automaton.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。