From b0ad441c9ccf47e7bc3b739acc80e52f3b85b5ba Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 7 Apr 2008 10:53:05 +0000 Subject: [PATCH] added a pretty printing of the new object and use argv[1] as uri --- helm/software/components/ng_kernel/rt.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helm/software/components/ng_kernel/rt.ml b/helm/software/components/ng_kernel/rt.ml index a7d959784..bdf182577 100644 --- a/helm/software/components/ng_kernel/rt.ml +++ b/helm/software/components/ng_kernel/rt.ml @@ -1,8 +1,10 @@ let _ = Helm_registry.load_from "conf.xml"; - let u = UriManager.uri_of_string "cic:/matita/tests/f.con" in + NCicPp.set_ppterm NCicPp.trivial_pp_term; + let u = UriManager.uri_of_string Sys.argv.(1) in let o, _ = CicEnvironment.get_obj CicUniv.oblivion_ugraph u in let l = OCic2NCic.convert_obj u o in + List.iter (fun o -> prerr_endline (NCicPp.ppobj o)) l; let objs = List.flatten (List.map NCic2OCic.convert_nobj l) in -- 2.39.2