Open vbgl opened 6 years ago
Sorry for the late reply, but this is a known limitation, which is highlighted several times in the documentation.
You mean the documentation there: https://proofgeneral.github.io/doc/master/userman/Coq-Proof-General/#index-coq_002dcompile_002dbefore_002drequire?
I actually mean "The compilation feature does currently not support ML modules." in 11.3 (https://proofgeneral.github.io/doc/master/userman/Coq-Proof-General/#Multiple-File-Support) and "No support Declare ML Module commands." in 11.3.5 (https://proofgeneral.github.io/doc/master/userman/Coq-Proof-General/#Current-Limitations).
I have never looked into ML modules, therefore the limitation. I would be interested to work with somebody together who is interested in this feature and knows enough about ML module compilation.
With PG-4.4.1~pre at 73792323172e289b531afc086d3f97323b28ecb6 with Coq-8.8 at 37d464bf9c36a8f52b42a509a31739e8afb96f1d, I’m trying to
Require
(with compile-before-require enabled; when this option is disabled, everything works fine) the loader for the toy plug-in at https://github.com/ybertot/plugin_tutorials/blob/35b4f622a118cccf5e8dd961dd75b31c3ea9e5fd/tuto3/theories/Loader.v PG fails at understanding a .cmxs (OCaml dynamically linked library) dependency of this module.Here is what
coqdep
returns:The
*coq-compile-response*
buffer shows:The
*Messages*
buffer shows: