aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/ide_blob.mli
blob: 34879f057789eeeaaf8b728b63aac87cec2bc84c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2010     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(* $Id$ *)


type 'a menu = 'a * (string * string) list

type goals =
  | Message of string
  | Goals of ((string menu) list * string menu) list

val reinit : unit -> unit

val init_stdout : unit -> unit

type 'a call

type 'a value =
  | Good of 'a
  | Fail of (Util.loc option * string)

val eval_call : 'a call -> 'a value

val raw_interp : string -> unit call

val interp : bool -> string -> int call

val rewind : int -> int call

val is_in_loadpath : string -> bool call

val make_cases : string -> string list list call

val current_status : string call

val current_goals : goals call

val read_stdout : string call

val loop : unit -> unit