]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/test_parser.ml
ported to new module names
[helm.git] / helm / ocaml / cic_disambiguation / test_parser.ml
index 0f6b2d162c07ab05d4fd1b21b21b8e6a26bcad52..1813fd641457953419cb74324ca1312eda26c082 100644 (file)
@@ -29,14 +29,10 @@ try
       open_in Sys.argv.(1)
     with Invalid_argument _ -> stdin)
   in
-  let term = Parser.parse_term (Stream.of_channel ic) in
+  let term = CicTextualParser2.parse_term (Stream.of_channel ic) in
   close_in ic;
-  print_endline (Pp.pp_term term)
+  print_endline (CicTextualParser2Pp.pp_term term)
 with Stdpp.Exc_located ((p_start, p_end), exn) ->
   prerr_endline (Printf.sprintf "Exception at character %d-%d: %s"
                   p_start p_end (Printexc.to_string exn))
 
-(* print_endline (Macro.expand "def") *)
-
-(* Printf.printf "'%s'\n" (Macro.expand Sys.argv.(1)) *)
-