Commit 5b450834 by Mark Cohen

compiler: introduce SurfaceProgram structure

parent e027dcfd
......@@ -15,6 +15,7 @@ Group
structure TyScheme
structure Class
structure Instance
structure SurfaceProgram
structure Scan
......@@ -50,6 +51,7 @@ is
class.sml
instance.sml
tyscheme.sml
surfaceprogram.sml
scan.sml
......
structure SurfaceProgram: sig
type program = {
classes: Class.class list,
instances: Instance.instance list,
body: AST.term
}
end = struct
type program = {
classes: Class.class list,
instances: Instance.instance list,
body: AST.term
}
(* fun verifyInstances *)
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment