]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mathql_test/mqgtop.ml
Adding tacticAst2Box (pretty printer for tactical, preliminary version).
[helm.git] / helm / mathql_test / mqgtop.ml
index d13ab253842c66fa87eef8d88130159e1f268ad4..7f8e2b85bb8d0bd6a7229741acfb2b22b5fd8543 100644 (file)
@@ -52,7 +52,7 @@ module C1 = CGMatchConclusion
 module GU = MQGUtil
 
 let get_handle () = 
-   C.init (C.flags_of_string ! int_options)
+   C.init ~flags:(C.flags_of_string ! int_options)
           (fun s -> print_string s; flush stdout) 
              
 let issue handle q =
@@ -324,10 +324,13 @@ let rec parse = function
    | _ :: rem -> parse rem
 
 let _ =
+   Helm_registry.load_from "/home/fguidi/miohelm/gTopLevel.conf.xml";
    let t = U.start_time () in
-   Logger.log_callback :=
-      (Logger.log_to_html 
+(*
+   CicLogger.log_callback :=
+      (CicLogger.log_to_html 
        ~print_and_flush:(fun s -> print_string s; flush stdout)) ; 
+*)
    parse (List.tl (Array.to_list Sys.argv)); 
    prerr_endline ("mqgtop: done in " ^ (U.stop_time t));
    exit 0