Newer
Older
(** Time-stamp: <modified the 28/08/2008 (at 17:01) by Erwan Jahier> *)
(** nb: compiling = type checking + constant evaluation *)
Erwan Jahier
committed
(** A lazy compiler is an internal structure that contains tables
storing compiled entities (types, const, node). At the beginning
(on creation), it only contains empty tables. But then, one when
ask for a type, a const, or a node, the tables are filled in.
*)
Erwan Jahier
committed
val create : SyntaxTab.t -> t
Erwan Jahier
committed
(** Compiles one node *)
val node_check : t -> Eff.node_key -> Lxm.t -> Eff.node_exp
(* compile all items *)
val compile_all : t -> unit