diff options
| author | letouzey | 2011-03-25 17:35:47 +0000 |
|---|---|---|
| committer | letouzey | 2011-03-25 17:35:47 +0000 |
| commit | 27e9777aaadca805dd331bc5f4f6ce40d41fbd70 (patch) | |
| tree | cd546e38133d1c32d97c0da314a5bdbafdc5322e /ide/coq.mli | |
| parent | bac77d6d0e58c74e2ad8ca439c48b86df5587206 (diff) | |
Ide: more reorganisation and cleanup
- Avoid using Util which depends on Compat and hence Camlp4
- Instead, a small Minilib module specific to coqide, which
duplicate 5 functions from Util (50 lines)
- some dead code removal
- the coqlib variable is asked to coqtop
- remove obsolete Util.check_for_interrupt
This way, coqide only depends on 3 files outside ide/ :
Coq_config, Flags, Ide_intf. Makefile and ocamlbuild are adapted
accordingly.
TODO: how should we signal coqide error, warnings, etc ?
For the moment, some Printf.eprintf, some failwith.
To uniformize later...
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13930 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'ide/coq.mli')
| -rw-r--r-- | ide/coq.mli | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ide/coq.mli b/ide/coq.mli index 148840be26..37c5bcd006 100644 --- a/ide/coq.mli +++ b/ide/coq.mli @@ -10,6 +10,7 @@ val short_version : unit -> string val version : unit -> string val filter_coq_opts : string list -> bool * string list val check_connection : string list -> unit +val coqlib : unit -> string type coqtop @@ -56,5 +57,3 @@ val make_cases : coqtop -> string -> string list list Ide_intf.value val current_status : coqtop -> string Ide_intf.value val goals : coqtop -> Ide_intf.goals Ide_intf.value - -val msgnl : Pp.std_ppcmds -> string |
