SerAPI in Emacs
June 15, 2016 ยท View on GitHub
================= SerAPI in Emacs
.. image:: screenshot.png
This is an experimental prototype using @ejgallego's SerAPI in Emacs. Useful as an experimentation platform, with hope of merging parts of this into Proof General.
Video demo: https://asciinema.org/a/b84ph360841x3c9lwq6pyihm9
Setting up
-
Clone the repo recursively::
git clone cpitclaudel/elcoq --recursive
-
Compile Coq and SerTOP (in the
serapidirectory) according toEmilio's instructions <https://github.com/ejgallego/coq-serapi#building>_. -
Install
elcoq's dependencies (either usingcask installor usingM-x package-install dash). -
Add the following to your .emacs::
(setq elcoq-coq-directory "/path/to/root/of/coq/sources/")
Using it
-
Open
elcoq.elin Emacs; runM-x eval-buffer -
Open the
test.vfile. -
Use
M-x elcoq-runto start SerTOP (you can also use this to reset it to a clean state). -
Go to the end and use
M-x coq-queue-up-toto add sentences. -
Use
M-x elcoq--sertop-observeto start asynchronous processing.