package why3find

  1. Overview
  2. Docs

Module Why3find.ConfigSource

Configurations and Environments

Sourcetype config = {
  1. fast : float;
  2. time : float;
  3. depth : int;
  4. packages : string list;
  5. provers : string list;
  6. tactics : string list;
  7. drivers : string list;
  8. warnoff : string list;
  9. preprocess : string option;
  10. profile : Why3findUtils.Json.t option;
}

The project configuration type

Sourceval default : config

Default configuration

Sourceval conf_file : string

The name of the configuration file

Sourceval root_for : string -> string option

Lookup for a parent directory of the given file that contains a why3find configuration file.

Sourceval load_raw_config : ?back:bool -> root:string -> unit -> Why3findUtils.Json.t

Load configuration as a Json object from the given configuration file

Sourceval config_of_json : Why3findUtils.Json.t -> config

Convert the raw configuration Json object to a config value

Sourceval config_to_json : config -> Why3findUtils.Json.t

Convert the given config to a raw configuration Json object

Sourceval load_config : root:string -> config

Read the configuration from the given root directory

Sourceval save_config : root:string -> config -> unit

Save the given configuration in the given root directory