rocq-community/parseque

Total Parser Combinators in Coq [maintainer=@womeier]

Rocq Prover

51

68 commits

updated Aug 22, 2026

See the code

README

Parseque

Docker CI Contributing Code of Conduct Zulip

Port of the agdarsec total parser combinator library to Rocq/Coq.

Meta

  • Author(s):
    • G. Allais (initial)
  • Rocq-community maintainer(s):
  • License: MIT License
  • Compatible Rocq/Coq versions: 9.0 or later (for older versions see opam/nix)
  • Additional dependencies: none
  • Rocq/Coq namespace: parseque
  • Related publication(s):

Building and installation instructions

The easiest way to install the latest released version of Parseque is via OPAM:

opam repo add coq-released https://coq.inria.fr/opam/released
opam install rocq-parseque

To instead build and install manually, do:

git clone https://github.com/rocq-community/parseque.git
cd parseque
make   # or make -j <number-of-cores-on-your-machine> 
make install

Documentation

This Rocq/Coq library is a port of the agdarsec library for Agda. The core design of agdarsec is described in this paper, while this blog post describes instrumentation.

It may be helpful to seek inspiration from a larger example. See e.g. the WasmCert parser of the WebAssembly binary format.

coq
parser-combinators
rocq-prover

Contributors

gallais

34 commits

womeier

24 commits

palmskog

7 commits

raoxiaojia

2 commits

rocq-community/parseque

Total Parser Combinators in Coq [maintainer=@womeier]

Rocq Prover

51

68 commits

updated Aug 22, 2026

See the code

README

Parseque

Docker CI Contributing Code of Conduct Zulip

Port of the agdarsec total parser combinator library to Rocq/Coq.

Meta

  • Author(s):
    • G. Allais (initial)
  • Rocq-community maintainer(s):
  • License: MIT License
  • Compatible Rocq/Coq versions: 9.0 or later (for older versions see opam/nix)
  • Additional dependencies: none
  • Rocq/Coq namespace: parseque
  • Related publication(s):

Building and installation instructions

The easiest way to install the latest released version of Parseque is via OPAM:

opam repo add coq-released https://coq.inria.fr/opam/released
opam install rocq-parseque

To instead build and install manually, do:

git clone https://github.com/rocq-community/parseque.git
cd parseque
make   # or make -j <number-of-cores-on-your-machine> 
make install

Documentation

This Rocq/Coq library is a port of the agdarsec library for Agda. The core design of agdarsec is described in this paper, while this blog post describes instrumentation.

It may be helpful to seek inspiration from a larger example. See e.g. the WasmCert parser of the WebAssembly binary format.

coq
parser-combinators
rocq-prover

Contributors

gallais

34 commits

womeier

24 commits

palmskog

7 commits

raoxiaojia

2 commits

Languages

Rocq Prover

94.5%

Nix

4.6%