]> matita.cs.unibo.it Git - helm.git/blobdiff - components/grafite_engine/grafiteTypes.ml
modifications to make matita behave reasonably, removed some useless windows
[helm.git] / components / grafite_engine / grafiteTypes.ml
index af819555bec8cac3bdd4f246c50a5948068bdcc2..71fd19f94b6d7289d1a7a47336d9ed05dab4914a 100644 (file)
@@ -44,17 +44,19 @@ type proof_status =
       (* Status in which the proof could be while it is being processed by the
       * engine. No status entering/exiting the engine could be in it. *)
 
+(* REMOVE
 module StringMap = Map.Make (String)
 type option_value =
   | String of string
   | Int of int
-type options = option_value StringMap.t
-let no_options = StringMap.empty
+*)
+(* type options = option_value StringMap.t *)
+(* let no_options = StringMap.empty *)
 
 type status = {
   moo_content_rev: GrafiteMarshal.moo;
   proof_status: proof_status;
-  options: options;
+(*   options: options; *)
   objects: UriManager.uri list;
   coercions: UriManager.uri list;
   universe:Universe.universe;  
@@ -137,13 +139,14 @@ let add_moo_content cmds status =
     GrafiteAstPp.pp_command content')); *)
   { status with moo_content_rev = content' }
 
+let get_baseuri status = status.baseuri;;
+
+(*
 let get_option status name =
   try
     StringMap.find name status.options
   with Not_found -> raise (Option_error (name, "not found"))
  
-let get_baseuri status = status.baseuri;;
-
 let set_option status name value =
   let types = [ (* no set options defined! *) ] in
   let ty_and_mangler =
@@ -167,6 +170,7 @@ let get_string_option status name =
   match get_option status name with
   | String s -> s
   | _ -> raise (Option_error (name, "not a string value"))
+*)
 
 let dump_status status = 
   HLog.message "status.aliases:\n";
@@ -178,6 +182,7 @@ let dump_status status =
     | Proof _ -> "proof\n"
     | Intermediate _ -> "Intermediate\n");
   HLog.message "status.options\n";
+(* REMOVEME
   StringMap.iter (fun k v -> 
     let v = 
       match v with
@@ -185,6 +190,7 @@ let dump_status status =
       | Int i -> string_of_int i
     in
     HLog.message (k ^ "::=" ^ v)) status.options;
+*)
   HLog.message "status.coercions\n";
   HLog.message "status.objects:\n";
   List.iter