diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2014-06-25 11:09:55 +0200 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2014-06-25 13:50:24 +0200 |
commit | 0a829ad04841d0973b22b4407b95f518276b66e7 (patch) | |
tree | f91845fb7722a15f13f2337c32c6ca92f9408d7f /toplevel/coqtop.mli | |
parent | b354b232c3356159f6866fab00816cd5412cd036 (diff) |
cut toploop(s) out of coqtop: now they are loaded dynamically
User interface writers can drop a footop.cmxs in $(COQLIB)/toploop/
and pass -toploop footop to customize the coq main loop.
A toploop must set Coqtop.toploop_init and Coqtop.toploop_run to
functions respectively initializing the toploop (and parsing toploop
specific arguments) and running the main loop itself.
For backward compatibility -ideslave and -async-proofs worker do
set the toploop to coqidetop and stmworkertop respectively.
Diffstat (limited to 'toplevel/coqtop.mli')
-rw-r--r-- | toplevel/coqtop.mli | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/toplevel/coqtop.mli b/toplevel/coqtop.mli index ee511edbb..875cf2ec0 100644 --- a/toplevel/coqtop.mli +++ b/toplevel/coqtop.mli @@ -14,3 +14,9 @@ val init_toplevel : string list -> unit val start : unit -> unit + + +(* For other toploops *) +val toploop_init : (string list -> string list) ref +val toploop_run : (unit -> unit) ref + |