Module Coqargs
val default_toplevel : Names.DirPath.t
type native_compiler= Coq_config.native_compiler=|NativeOff|NativeOn of{ondemand : bool;}type top=|TopLogical of Names.DirPath.t|TopPhysical of stringtype option_command=|OptionSet of string option|OptionUnset|OptionAppend of stringtype injection_command=|OptionInjection of Goptions.option_name * option_commandSet flags or options before the initial state is ready.
|RequireInjection of string * string option * bool optionRequire libraries before the initial state is ready. Parameters follow
Library, that is to say,lib,prefix,import_exportmeans require librarylibfrom optionalprefixandimport_exportifSome false/Some trueis used.|WarnNoNative of stringUsed so that "-w -native-compiler-disabled -native-compiler yes" does not cause a warning. The native option must be processed before injections (because it affects require), so the instruction to emit a message is separated.
|WarnNativeDeprecatedUsed so that "-w -native-compiler-deprecated-option -native-compiler FLAG" does not cause a warning, similarly to above.
type coqargs_logic_config={impredicative_set : bool;indices_matter : bool;type_in_type : bool;toplevel_name : top;}type coqargs_config={logic : coqargs_logic_config;rcfile : string option;coqlib : string option;enable_VM : bool;native_compiler : native_compiler;native_output_dir : CUnix.physical_path;native_include_dirs : CUnix.physical_path list;time : bool;print_emacs : bool;}type coqargs_pre={boot : bool;load_init : bool;load_rcfile : bool;ml_includes : CUnix.physical_path list;vo_includes : Loadpath.vo_path list;load_vernacular_list : (string * bool) list;injections : injection_command list;}type coqargs_query=|PrintWhere|PrintConfig|PrintVersion|PrintMachineReadableVersion|PrintHelp of Usage.specific_usagetype coqargs_main=|Queries of coqargs_query list|Runtype coqargs_post={memory_stat : bool;}type t={config : coqargs_config;pre : coqargs_pre;main : coqargs_main;post : coqargs_post;}
val default : tval parse_args : usage:Usage.specific_usage -> init:t -> string list -> t * string listval injection_commands : t -> injection_command listval build_load_path : t -> CUnix.physical_path list * Loadpath.vo_path listval dirpath_of_top : top -> Names.DirPath.tval get_int : opt:string -> string -> intval get_int_opt : opt:string -> string -> int optionval get_bool : opt:string -> string -> boolval get_float : opt:string -> string -> floatval error_missing_arg : string -> 'aval error_wrong_arg : string -> 'aval set_option : (Goptions.option_name * option_command) -> unit