SerAPI: Machine-Friendly, Data-Centric Serialization for COQ - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Preprints, Working Papers, ... Year : 2016

SerAPI: Machine-Friendly, Data-Centric Serialization for COQ


We present SerAPI, a library and protocol for machine-friendly communication with the COQ proof assistant. SerAPI is implemented using Ocaml's PPX pre-processing technology, and it is specifically targeted to reduce implementation burden for tools such as Integrated Development Environments or code analyzers. SerAPI tries to address common problems that tools interacting with COQ face, providing a uniform and data-centric way to access term representations, proof state, and an extended protocol for document building. SerAPI is work in progress but fully functional. It has been adopted by the jsCoq and PeaCoq Integrated Development Environments , and supports running inside a web browser instance. For the near future, we are focused on extending the document protocol and providing advanced display abilities to clients.
Fichier principal
Vignette du fichier
serapi.pdf (119.82 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-01384408 , version 1 (19-10-2016)



  • HAL Id : hal-01384408 , version 1


Emilio Jesús Gallego Arias. SerAPI: Machine-Friendly, Data-Centric Serialization for COQ: Technical Report. 2016. ⟨hal-01384408⟩
992 View
470 Download


Gmail Mastodon Facebook X LinkedIn More