aboutsummaryrefslogtreecommitdiff
path: root/dev/doc
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-01-31 04:55:52 +0100
committerEmilio Jesus Gallego Arias2018-02-05 02:49:52 +0100
commitc13213ced52f8f1383d5bed9c5a826d111603318 (patch)
tree4999815ee37d7514b0337fcb5445bad98a00012f /dev/doc
parent0e9161af86787d4f368554111001cab73bb7b323 (diff)
[stm] [toplevel] Make loadpath a parameter of the document.
We allow to provide a Coq load path at document creation time. This is natural as the document naming process is sensible to a particular load path, thus clarifying this API point. The changes are minimal, as #6663 did most of the work here. The only point of interest is that we have split the initial load path into two components: - a ML-only load path that is used to locate "plugable" toplevels. - the normal loadpath that includes `theories` and `user-contrib`, command line options, etc...
Diffstat (limited to 'dev/doc')
-rw-r--r--dev/doc/changes.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev/doc/changes.md b/dev/doc/changes.md
index e616bd5663..aef62b0092 100644
--- a/dev/doc/changes.md
+++ b/dev/doc/changes.md
@@ -58,6 +58,17 @@ Declaration of printers for arguments used only in vernac command
happen. An alternative is to register the corresponding argument as
a value, using "Geninterp.register_val0 wit None".
+### STM API
+
+The STM API has seen a general overhaul. The main change is the
+introduction of a "Coq document" type, which all operations now take
+as a parameter. This effectively functionalize the STM API and will
+allow in the future to handle several documents simultaneously.
+
+The main remarkable point is that key implicit global parameters such
+as load-paths and required modules are now arguments to the document
+creation function. This helps enforcing some key invariants.
+
### XML IDE Protocol
- Before 8.8, `Query` only executed the first command present in the