X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fbinaries%2Fmatex%2Fmatex.ml;h=ddd41304914bc1ba7235391c4668b1153c1d18e9;hb=50a9ed8c6207145fccf59e6a5dbbff935cd2c6d7;hp=9ca51c1fe8cfe223141b0b25e53b6d797c7c90f7;hpb=d03e9fa5ea709a937148a67fc115d894e5990063;p=helm.git
diff --git a/matita/components/binaries/matex/matex.ml b/matita/components/binaries/matex/matex.ml
index 9ca51c1fe..ddd413049 100644
--- a/matita/components/binaries/matex/matex.ml
+++ b/matita/components/binaries/matex/matex.ml
@@ -25,10 +25,12 @@ module K = Kernel
let help_O = "
Set this output directory"
let help_X = " Clear configuration and options"
let help_a = " Log alpha-unconverted identifiers (default: no)"
+let help_c = " Check term transformations (default: no)"
let help_g = " Global alpha-conversion (default: no)"
let help_l = " Output the list of generated files in this file"
-let help_p = " Omit types (default: no)"
-let help_t = " Test term transformations (default: no)"
+let help_m = " Log missing notational macros (default: no)"
+let help_p = " Omit proofs (default: no)"
+let help_t = " Omit types (default: no)"
let help = ""
@@ -36,6 +38,10 @@ let help = ""
let alpha_decode = R.triple R.string R.string R.string
+let const_decode = R.pair R.string R.string
+
+let macro_decode = R.quad R.string R.string R.int R.int
+
let init registry =
R.load_from registry;
if !G.no_init then begin
@@ -43,7 +49,9 @@ let init registry =
G.no_init := false;
end;
G.alpha_type := R.get_list alpha_decode "matex.alpha.type";
- G.alpha_sort := R.get_list alpha_decode "matex.alpha.sort"
+ G.alpha_sort := R.get_list alpha_decode "matex.alpha.sort";
+ G.alpha_gref := R.get_list const_decode "matex.alpha.gref";
+ G.macro_gref := R.get_list macro_decode "matex.notation.const"
let is_registry s =
F.check_suffix s ".conf.xml"
@@ -70,10 +78,12 @@ begin try
"-O", A.String ((:=) G.out_dir), help_O;
"-X", A.Unit G.clear, help_X;
"-a", A.Set G.log_alpha, help_a;
+ "-c", A.Set G.check, help_c;
"-g", A.Set G.global_alpha, help_g;
"-l", A.String set_list, help_l;
- "-p", A.Set G.no_types, help_p;
- "-t", A.Set G.test, help_t;
+ "-m", A.Set G.log_missing, help_m;
+ "-p", A.Set G.no_proofs, help_p;
+ "-t", A.Set G.no_types, help_t;
] process help
with
| X.Error s -> X.log s