arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1212.5003cs.FL
收藏

正则表达式推导的一般框架

A General Framework for the Derivation of Regular Expressions

Pascal Caron, Jean-Marc Champarnaud, Ludovic Mignot

摘要:

本文的目的是设计一个理论框架,使我们能够通过通用结构的空间进行正则表达式导数的计算。由于这种形式主义,正则表达式推导的主要性质,例如导数集的有限性,只需要在顶层声明和证明一次。此外,它示出了如何构建一个交替自动机与派生的正则表达式在这个一般框架。最后,Brzozowski的推导和Antimirov的推导结果是一个特殊的情况下,这个一般计划,它示出了如何构建一个DFA,一个NFA和AFA这两个衍生物。

英文摘要:

The aim of this paper is to design a theoretical framework that allows us to perform the computation of regular expression derivatives through a space of generic structures. Thanks to this formalism, the main properties of regular expression derivation, such as the finiteness of the set of derivatives, need only be stated and proved one time, at the top level. Moreover, it is shown how to construct an alternating automaton associated with the derivation of a regular expression in this general framework. Finally, Brzozowski's derivation and Antimirov's derivation turn out to be a particular case of this general scheme and it is shown how to construct a DFA, a NFA and an AFA for both of these derivations.

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

↑