The design of a verified derivative-based parsing tool for regular expressions.

Resumo
We describe the formalization of Brzozowski and Antimirov derivative based algorithms for regular expression parsing, in the dependently typed language Agda. The formalization produces a proof that either an input string matches a given regular expression or that no matching exists. A tool for regular expression based search in the style of the well known GNU grep has been developed with the certified algorithms. Practical experiments conducted with this tool are reported.
Descrição
Palavras-chave
Certified algorithms, Dependent types
Citação
CARDOSO, E. M. et al. The design of a verified derivative-based parsing tool for regular expressions. CLEI Eletronic Journal, v. 24, n. 3, 2021. Disponível em: <http://www.clei.org/cleiej/index.php/cleiej/article/view/521/417>. Acesso em: 06 jul. 2022.