Debian Codegraph @

toplevel/coqcargs.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 (** Compilation modes:
12 - BuildVo : process statements and proofs (standard compilation),
13 and also output an empty .vos file and .vok file
14 - BuildVos : process statements, and discard proofs,
15 and load .vos files for required libraries
16 - BuildVok : like BuildVo, but load .vos files for required libraries
17
18 When loading the .vos version of a required library, if the file exists but is
19 empty, then we attempt to load the .vo version of that library.
20 This trick is useful to avoid the need for the user to compile .vos version
21 when an up to date .vo version is already available.
22 *)
23 type compilation_mode = BuildVo | BuildVos | BuildVok
24
25 type glob_output =
26 | NoGlob
27 | GlobFile of string (* Single file for all coqc arguments *)
28
29 type t =
30 { compilation_mode : compilation_mode
31
32 ; compile_file: (string * bool) option (* bool is verbosity *)
33 ; compilation_output_name : string option
34
35 ; echo : bool
36
37 ; glob_out : glob_output option
38
39 ; output_context : bool
40 }
41
42 val default : t
43 val parse : string list -> t