package coq-core
The Coq Proof Assistant -- Core Binaries and Tools
Install
Dune Dependency
Authors
Maintainers
Sources
coq-8.18.0.tar.gz
md5=8d852367b54f095d9fbabd000304d450
sha512=46922d5f2eb6802a148a52fd3e7f0be8370c93e7bc33cee05cf4a2044290845b10ccddbaa306f29c808e7c5019700763e37e45ff6deb507b874a4348010fed50
doc/coq-core.toplevel/Coqtop/index.html
Module Coqtop
Source
Definition of custom toplevels. init_extra
is used to do custom initialization run
launches a custom toplevel.
Source
type ('a, 'b) custom_toplevel = {
parse_extra : string list -> 'a * string list;
usage : Boot.Usage.specific_usage;
init_extra : 'a -> Coqargs.injection_command list -> opts:Coqargs.t -> 'b;
initial_args : Coqargs.t;
run : 'a -> opts:Coqargs.t -> 'b -> 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
Source
val init_toploop :
Coqargs.t ->
Stm.AsyncOpts.stm_opt ->
Coqargs.injection_command list ->
Vernac.State.t
The specific characterization of the coqtop_toplevel
Source
val coqtop_toplevel :
(toplevel_options * Stm.AsyncOpts.stm_opt, Vernac.State.t) custom_toplevel
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>