package coq-core

  1. Overview
  2. Docs
The Coq Proof Assistant -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

coq-8.20.1.tar.gz
md5=0cfaa70f569be9494d24c829e6555d46
sha512=8ee967c636b67b22a4f34115871d8f9b9114df309afc9ddf5f61275251088c6e21f6cf745811df75554d30f4cebb6682f23eeb2e88b771330c4b60ce3f6bf5e2

doc/coq-core.toplevel/Coqtop/index.html

Module CoqtopSource

Definition of custom toplevels. init_extra is used to do custom initialization run launches a custom toplevel.

Sourcetype ('a, 'b) custom_toplevel = {
  1. parse_extra : string list -> 'a * string list;
  2. usage : Boot.Usage.specific_usage;
  3. init_extra : 'a -> Coqargs.injection_command list -> opts:Coqargs.t -> 'b;
  4. initial_args : Coqargs.t;
  5. run : 'a -> opts:Coqargs.t -> 'b -> unit;
}
Sourceval start_coq : ('a * Stm.AsyncOpts.stm_opt, 'b) custom_toplevel -> unit

The generic 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.

Prepare state for interactive loop

The specific characterization of the coqtop_toplevel

Sourcetype query =
  1. | PrintTags
  2. | PrintModUid of string list
Sourcetype run_mode =
  1. | Interactive
  2. | Batch
  3. | Query of query
Sourcetype toplevel_options = {
  1. run_mode : run_mode;
  2. color_mode : Colors.color;
}
Sourceval ltac_debug_answer : DebugHook.Answer.t -> unit
Sourceval ltac_debug_parse : unit -> DebugHook.Action.t
OCaml

Innovation. Community. Security.