aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/coq
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2001-08-31 11:41:29 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2001-08-31 11:41:29 +0000
commit5487fa826b97880785a830cde9219e1d04c7160b (patch)
tree6c6ef18e227090cc27d1ef8a8a9486d07159a3fe /etc/coq
parent8e6dedec7e232f511fa9c066e658c8ca6313259f (diff)
Explanation
Diffstat (limited to 'etc/coq')
-rw-r--r--etc/coq/multiple/README24
1 files changed, 23 insertions, 1 deletions
diff --git a/etc/coq/multiple/README b/etc/coq/multiple/README
index 03587134..48f64110 100644
--- a/etc/coq/multiple/README
+++ b/etc/coq/multiple/README
@@ -1,5 +1,27 @@
New in 3.3: experimental proper handling of multiple files.
Not expected to be robust, see comments in coq.el
- Should be improved for Coq 7, I hope!
+ Should be improved for new versions of Coq 7, I hope!
Test also for automatic compilation.
+Expected behaviour:
+
+ 1) At the end of scripting foo.v (i.e. when activing scripting is
+ switched off), "Reset Initial. Compile Module <foo>" is
+ automatically issued. This clears the context and writes a .vo file,
+ to keep your .vo files up to date. It means that when using PG Coq,
+ you should use the correct commands ("Require foo.") to load all
+ the modules you depend on, so that scripting can continue in the
+ next file.
+
+ 2) PG tracks file dependencies by noticing "Reinterning" messages
+ from Coq. When a file "b.v" is processed which has a "Require a",
+ command, PG will try to find "a.v" and will automatically lock
+ it. (This part of the process is fragile, for two reasons: it
+ is hard to find the directory for a.v, since Coq doesn't report
+ it, and the reinterning message is only issued the first time the
+ file is reinterned).
+
+ 3) When a file is retracted, PG attempts to automatically unlock
+ all the dependent files, by issuing a coqdep command to determine
+ the dependencies. (This is a rather nasty hack, it's hoped for
+ the future that Coq will support this functionality directly).