Or Coq Extraction to Scheme also loadable as Emacs Lisp or Common Lisp programs.
- Coq 8.4pl3
- Emacs 24 or later (for
lexical-binding
) - An ANSI Common Lisp implementation.
Apply the patch to Coq-8.4pl3
% patch -p1 < coq-8.4pl3-elisp.diff
Build and install patched Coq.
Extract functions into Scheme.
Extraction Language Scheme.
Extraction ...
Load auxiliary definitions macros_extr.scm.el
for emacs,
or macros_extr.scm.lisp
for common lisp,
then your implementation is ready to load extracted files.