package rocq-runtime

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

rocq-9.1.0.tar.gz
sha256=b236dc44f92e1eeca6877c7ee188a90c2303497fe7beb99df711ed5a7ce0d824

doc/rocq-runtime.rocqshim/Rocqshim/index.html

Module RocqshimSource

Sourcetype worker = {
  1. package : string;
  2. basename : string;
}
Sourceval get_worker_path : worker -> string

Find the executable for the given worker. init must have been called. byte defaults to whether the current executable is byte compiled.

Sourcetype opts = {
  1. debug_shim : bool;
}
Sourceval parse_opts : string list -> opts * string list
Sourceval init : opts -> string list -> unit

Initialize environment and search paths.

Sourceval try_run_queries : opts -> string list -> bool

Returns whether there are queries in the argument list, and if there are print their output. Does not handle PrintHelp queries.

Sourceval exec_or_create_process : string -> string array -> 'a

On windows Unix.execv creates a new process and exits this one. This confuses dune into thinking we are done, so instead we create_process and wait for it.