OCAMLC = OCAMLPATH=../../METAS ocamlfind ocamlc -package helm-grafite_parser
-TPTPDIR=/home/tassi/helm/trunk/TPTP-v3.1.1/
+TPTPDIR=/home/$(USER)/TPTP-v3.1.1/
opt all: tptp2grafite
echo -n
generate:
for X in `cat unit_equality_problems`; do\
- ./tptp2grafite -tptppath /home/tassi/TPTP-v3.1.1/ $$X \
+ ./tptp2grafite -tptppath $(TPTPDIR) $$X \
> ../../../matita/tests/TPTP/$$X.ma || echo Failed: $$X; \
done
parse:
for X in `cat unit_equality_problems`; do\
echo "Parsing $$X"; \
- ./tptp2grafite -tptppath /home/tassi/TPTP-v3.1.1/ $$X \
+ ./tptp2grafite -tptppath $(TPTPDIR) $$X \
> /dev/null || echo Failed: $$X; \
done
let extra_statements_start = [
GA.Executable(floc,GA.Command(floc,
GA.Set(floc,"baseuri","cic:/matita/TPTP/" ^ !inputfile)));
- GA.Executable(floc,GA.Command(floc, GA.Include(floc,"legacy/coq.ma")))]
+ GA.Executable(floc,GA.Command(floc, GA.Include(floc,"library_notation.ma")))]
in
List.iter pp extra_statements_start;
List.iter
(LexiconAstPp.pp_command
(LA.Alias(floc,
LA.Ident_alias(n,s))) ^ "."))
- [("eq","cic:/Coq/Init/Logic/eq.ind#xpointer(1/1)");
+ [(*("eq","cic:/Coq/Init/Logic/eq.ind#xpointer(1/1)");
("trans_eq","cic:/Coq/Init/Logic/trans_eq.con");
("eq_ind_r","cic:/Coq/Init/Logic/eq_ind_r.con");
("eq_ind","cic:/Coq/Init/Logic/eq_ind.con");
("sym_eq","cic:/Coq/Init/Logic/sym_eq.con");
- ("refl_equal","cic:/Coq/Init/Logic/eq.ind#xpointer(1/1/1)")];
+ ("refl_equal","cic:/Coq/Init/Logic/eq.ind#xpointer(1/1/1)") *)];
List.iter pp grafite_ast_statements;
exit 0