package rocq-runtime

  1. Overview
  2. Docs
The Rocq Prover -- Core Binaries and Tools

Install

Dune Dependency

Authors

Maintainers

Sources

rocq-9.0.0.tar.gz
md5=8d522602d23e7a665631826dab9aa92b
sha512=f4f76a6a178e421c99ee7a331a2fd97a06e9c5d0168d7e60c44e3820d8e1a124370ea104ad90c7f87a9a1e9d87b2d0d7d2d387c998feeaed4a75ed04e176a4be

doc/rocq-runtime.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 : Coqargs.t -> 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 -> string list -> unit

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

The string list argument is typically List.tl (Array.to_list Sys.argv).

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.