(************************************************************************)
(* * The Coq Proof Assistant / The Coq Development Team *)
(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *)
(* <O___,, * (see CREDITS file for the list of authors) *)
(* \VV/ **************************************************************)
(* // * This file is distributed under the terms of the *)
(* * GNU Lesser General Public License Version 2.1 *)
(* * (see LICENSE file for the text of the license) *)
(************************************************************************)
(** Definition of custom toplevels.
[init] is used to do custom command line argument parsing.
[run] launches a custom toplevel.
*)
type init_fn = opts:Coqargs.t -> string list -> Coqargs.t * string list
type custom_toplevel =
{ init : init_fn
; run : opts:Coqargs.t -> state:Vernac.State.t -> unit
; opts : Coqargs.t
}
(** [init_toplevel ~help ~init custom_init arg_list]
Common Coq initialization and argument parsing *)
val init_toplevel
: help:(unit -> unit)
-> init:Coqargs.t
-> init_fn
-> string list
-> Coqargs.t * string list
val coqtop_toplevel : custom_toplevel
(** The Coq main module. [start custom] 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 resource file,
produce the output state if any, and finally will launch
[custom.run]. *)
val start_coq : custom_toplevel -> unit
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet)
¤
|
Haftungshinweis
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.
|