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
+ prerr_endline "VECCHIO";
+ prerr_endline (CicPp.ppobj o);
let l = OCic2NCic.convert_obj u o in
+ prerr_endline "OGGETTI:.........................................";
List.iter (fun o -> prerr_endline (NCicPp.ppobj o)) l;
+ prerr_endline "/OGGETTI:.........................................";
let objs =
List.flatten
(List.map NCic2OCic.convert_nobj l) in
List.iter
(fun (u,o) ->
- prerr_endline ("------- " ^ UriManager.string_of_uri u);
+ prerr_endline ("round trip: " ^ UriManager.string_of_uri u);
prerr_endline (CicPp.ppobj o);
+ prerr_endline "tipo.......";
try CicTypeChecker.typecheck_obj u o
with
CicTypeChecker.TypeCheckerFailure s