mirror of
https://github.com/LucasVbr/postscript-compiler.git
synced 2026-05-13 17:22:00 +00:00
14 lines
211 B
OCaml
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
|