OCAMLC = ocamlopt -g -rectypes
LIB = unix.cmxa str.cmxa
- UTILS = parser.cmx console.cmx listx.cmx util.cmx pure.cmx num.cmx
+ UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx
- all: andrea.out
+ all: a.out test4.out
+
+ run: test4.out
+ bash run
+
+ a.out: $(UTILS) lambda4.cmx problems.cmx
+ $(OCAMLC) -o a.out $(LIB) $^
+
+ sat.out: $(UTILS) lambda4.cmx sat.ml
+ $(OCAMLC) -o sat.out $(LIB) $^
+ #
+ test4.out: $(UTILS) lambda4.cmx test.ml
+ $(OCAMLC) -o test4.out $(LIB) $^
+andrea.out: $(UTILS) andrea8.ml
+ $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea8.ml
+
%.cmi: %.mli
$(OCAMLC) -c $<
val free_vars : nf -> int list
module ToScott :
sig
- val t_of_i_num_var : nf i_num_var_ -> Pure.Pure.t
- val t_of_nf : nf -> Pure.Pure.t
+ val scott_of_nf : nf -> Pure.Pure.t
end
val print : ?l:string list -> nf -> string
-val string_of_nf : [<nf] -> string
val cast_to_i_var : [< nf > `I `Var] -> i_var
val cast_to_i_n_var : [< nf > `I `N `Var] -> i_n_var
val cast_to_i_num_var : [< nf > `I `N `Match `Var] -> i_num_var