summaryrefslogtreecommitdiff
path: root/toplevel/coqtop.mli
blob: ef730915fa471c481ce2fdfeed434ebd92fdd13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, *   INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2011     *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(*i $Id: coqtop.mli 14641 2011-11-06 11:59:10Z herbelin $ i*)

(* The Coq main module. The following function [start] will parse the
   command line, print the banner, initialize the load path, load the input
   state, load the files given on the command line, load the ressource file,
   produce the output state if any, and finally will launch [Toplevel.loop]. *)

val start : unit -> unit

(* [init_ide] is to be used by the Coq IDE.
   It does everything [start] does, except launching the toplevel loop.
   It returns the list of Coq files given on the command line. *)

val init_ide : unit -> string list