]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/dump_moo.ml
Added a new section on the logical library.
[helm.git] / helm / matita / dump_moo.ml
index 14dea3472a96ded9519d09d9fc6e65681e0a628b..17f24fc0afb3da92e73f70645b73d9fda9ad4dd8 100644 (file)
@@ -42,18 +42,14 @@ let _ =
   List.iter
     (fun fname ->
       if not (Sys.file_exists fname) then
-        MatitaLog.error (sprintf "Can't find moo '%s', skipping it." fname)
+        HLog.error (sprintf "Can't find moo '%s', skipping it." fname)
       else begin
         printf "%s:\n" fname; flush stdout;
-        let commands, metadata = MatitaMoo.load_moo ~fname in
+        let commands = GrafiteMarshal.load_moo ~fname in
         List.iter
           (fun cmd ->
-            printf "  %s\n" (GrafiteAstPp.pp_command cmd); flush stdout)
+            printf "  %s\n" (GrafiteAstPp.pp_cic_command cmd); flush stdout)
           commands;
-        List.iter
-          (fun m ->
-            printf "  %s\n" (GrafiteAstPp.pp_metadata m); flush stdout)
-          metadata
       end)
     (List.rev !moos)