Files
postscript-compiler/typing.ml
T
2023-02-24 15:18:30 +01:00

14 lines
211 B
OCaml

(* Typechecking of source programs *)
open Lang
(* Environments *)
type environment =
{localvars: (vname * tp) list;
funbind: fundecl list
}
let tp_prog (Prog (fundecls, fundefns)) = true