]> matita.cs.unibo.it Git - helm.git/blob - matita/components/binaries/matex/options.ml
- plain anticipation for CIC proofs terms
[helm.git] / matita / components / binaries / matex / options.ml
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.      
9      \ /   This software is distributed as is, NO WARRANTY.     
10       V_______________________________________________________________ *)
11
12 module F = Filename
13
14 module R = Helm_registry
15 module P = NCicPp
16
17 (* internal *****************************************************************)
18
19 let default_no_init = true
20
21 let default_out_dir = F.current_dir_name
22
23 let default_proc_id = "H"
24
25 let default_test = false
26
27 let default_no_types = false
28
29 (* interface ****************************************************************)
30
31 let status = new P.status
32
33 let no_init = ref default_no_init
34
35 let out_dir = ref default_out_dir   (* directory of generated files *)
36
37 let proc_id = ref default_proc_id   (* identifer of anticipations *)
38
39 let test = ref default_test         (* test anticipation *)
40
41 let no_types = ref default_no_types (* omit types *)
42
43 let clear () =
44    R.clear ();
45    no_init := default_no_init;
46    out_dir := default_out_dir;
47    proc_id := default_proc_id;
48    test := default_test;
49    no_types := default_no_types