Debian Codegraph @

plugins/extraction/extract_env.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 (*s This module declares the extraction commands. *)
12
13 open Names
14 open Libnames
15
16 val simple_extraction : opaque_access:Global.indirect_accessor -> qualid -> unit
17 val full_extraction : opaque_access:Global.indirect_accessor -> string option -> qualid list -> unit
18 val separate_extraction : opaque_access:Global.indirect_accessor -> qualid list -> unit
19 val extraction_library : opaque_access:Global.indirect_accessor -> bool -> lident -> unit
20
21 (* For the test-suite : extraction to a temporary file + ocamlc on it *)
22
23 val extract_and_compile : opaque_access:Global.indirect_accessor -> qualid list -> unit
24
25 (* For debug / external output via coqtop.byte + Drop : *)
26
27 val mono_environment :
28 Common.State.t -> opaque_access:Global.indirect_accessor -> Miniml.global list -> ModPath.t list -> Miniml.ml_structure
29
30 (* Used by the Relation Extraction plugin *)
31
32 val print_one_decl :
33 Common.State.t -> Miniml.ml_structure -> ModPath.t -> Miniml.ml_decl -> Pp.t
34
35 (* Show the extraction of the current ongoing proof *)
36
37 val show_extraction : pstate:Declare.Proof.t -> unit