./testlibrary -vars -varsprefix cic:/Coq index.txt 2>/dev/null >LOG
librarytest.opt: testlibrary.opt
./testlibrary.opt -vars -varsprefix cic:/Coq index.txt 2>/dev/null >LOG
+typecheck_uri: typecheck_uri.ml
+ $(OCAMLFIND) ocamlc -thread -package helm-cic_proof_checking -linkpkg -o $@ $<
+typecheck_uri.opt: typecheck_uri.ml
+ $(OCAMLFIND) opt -thread -package helm-cic_proof_checking -linkpkg -o $@ $<
MAIN = ./gTopLevel
ARGS =
--- /dev/null
+
+
+open Printf
+
+let _ = Helm_registry.load_from "gTopLevel.conf.xml"
+
+let test_uri uri =
+ (try
+ Printf.printf "%s ... " uri;
+ let uri = UriManager.uri_of_string uri in
+ flush stdout;
+ ignore (CicTypeChecker.typecheck uri);
+ print_endline "ok";
+ with _ -> print_endline "failure");
+ flush stdout
+
+let _ =
+ try
+ while true do
+ test_uri (input_line stdin)
+ done
+ with End_of_file -> ()
+