Skip to content

proofengineering/regmatch

Repository files navigation

RegMatch

An executable regular expression (regexp) matcher as defined in the paper Proof-directed debugging revisited, proved correct in the Coq proof assistant.

Requirements

Definitions and proofs:

Executable matcher:

Building

One easy way to install the dependencies (ssreflect, RegLang, and menhir) is via OPAM:

opam repo add coq-released https://coq.inria.fr/opam/released
opam install menhir coq-mathcomp-ssreflect coq-reglang

Then, run make. This will compile the Coq syntax and relation definitions along with the proofs and functions, and extract OCaml code.

To build the executable matcher program, run make matcher.

About

Certified regular expression matcher in Coq

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published