-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] Ability to save .vo file from coqtop/sertop #14117
Comments
SerAPI does certainly support this but I am unsure if interactively in the main branch yet, as the plan was to include it in the fix for ejgallego/coq-serapi#49 ; adding such support is trivial so please open an issue in the coq-serapi repos and I will push the fix for #49 including the save command. |
Note that sercomp & friends do already have the ability to generate .vo files. |
Indeed this is supported in both coq-lsp and sertop, so closing. |
It seems that saving .vo files is done from
coq/vernac/library.mli
Lines 49 to 52 in 00391bd
which is called only from ccompile and
coq/stm/stm.mli
Lines 140 to 147 in 110921a
which itself is called only from ccompile. So it seems there is not a way to save the .vo file at the end of a long coqtop session / from sertop.
This would be quite useful, for example, in HoTT/Coq-HoTT#1455 (comment), where being able to replace
coqc
by a script using serapi under the hood would cut the time spent on the CI job by 33% (because we'd no longer need to compile each file both withcoqc
to get the.vo
file for files depending on it and also with alectryon to record the playback).cc @cpitclaudel @ejgallego
The text was updated successfully, but these errors were encountered: