From: Enrico Tassi Date: Mon, 7 Apr 2008 10:53:05 +0000 (+0000) Subject: added a pretty printing of the new object and use argv[1] as uri X-Git-Tag: make_still_working~5438 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=b0ad441c9ccf47e7bc3b739acc80e52f3b85b5ba;p=helm.git added a pretty printing of the new object and use argv[1] as uri --- 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