diff src/mono.sml @ 51:92361a008a10

FFI through monoize
author Adam Chlipala <adamc@hcoop.net>
date Sun, 22 Jun 2008 10:12:23 -0400
parents 537db4ee89f4
children 40d146f467c5
line wrap: on
line diff
--- a/src/mono.sml	Sun Jun 22 10:06:50 2008 -0400
+++ b/src/mono.sml	Sun Jun 22 10:12:23 2008 -0400
@@ -33,6 +33,7 @@
          TFun of typ * typ
        | TRecord of (string * typ) list
        | TNamed of int
+       | TFfi of string * string
 
 withtype typ = typ' located
 
@@ -40,6 +41,8 @@
          EPrim of Prim.t
        | ERel of int
        | ENamed of int
+       | EFfi of string * string
+       | EFfiApp of string * string * exp list
        | EApp of exp * exp
        | EAbs of string * typ * typ * exp