package coq

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type color = [
  1. | `AUTO
  2. | `EMACS
  3. | `OFF
  4. | `ON
]
val default_toplevel : Names.DirPath.t
type native_compiler =
  1. | NativeOff
  2. | NativeOn of {
    1. ondemand : bool;
    }
type option_command =
  1. | OptionSet of string option
  2. | OptionUnset
type coqargs_logic_config = {
  1. impredicative_set : Declarations.set_predicativity;
  2. indices_matter : bool;
  3. toplevel_name : Stm.interactive_top;
  4. allow_sprop : bool;
  5. cumulative_sprop : bool;
}
type coqargs_config = {
  1. logic : coqargs_logic_config;
  2. rcfile : string option;
  3. coqlib : string option;
  4. color : color;
  5. enable_VM : bool;
  6. native_compiler : native_compiler;
  7. stm_flags : Stm.AsyncOpts.stm_opt;
  8. debug : bool;
  9. diffs_set : bool;
  10. time : bool;
  11. print_emacs : bool;
  12. set_options : (Goptions.option_name * option_command) list;
}
type coqargs_pre = {
  1. load_init : bool;
  2. load_rcfile : bool;
  3. ml_includes : Loadpath.coq_path list;
  4. vo_includes : Loadpath.coq_path list;
  5. vo_requires : (string * string option * bool option) list;
  6. load_vernacular_list : (string * bool) list;
  7. inputstate : string option;
}
type coqargs_query =
  1. | PrintTags
  2. | PrintWhere
  3. | PrintConfig
  4. | PrintVersion
  5. | PrintMachineReadableVersion
  6. | PrintHelp of Usage.specific_usage
type coqargs_main =
  1. | Queries of coqargs_query list
  2. | Run
type coqargs_post = {
  1. memory_stat : bool;
  2. output_context : bool;
}
type t = {
  1. config : coqargs_config;
  2. pre : coqargs_pre;
  3. main : coqargs_main;
  4. post : coqargs_post;
}
val default : t
val parse_args : help:Usage.specific_usage -> init:t -> string list -> t * string list
val error_wrong_arg : string -> unit
val require_libs : t -> (string * string option * bool option) list
val build_load_path : t -> Loadpath.coq_path list
OCaml

Innovation. Community. Security.