summaryrefslogtreecommitdiff
path: root/src/mono.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 10:12:23 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 10:12:23 -0400
commitf3ddf9922b90bdd45ca5b1c33c72ff316d5440eb (patch)
tree01bca0e1718350a2e4601c9e493cbddb02d45ba3 /src/mono.sml
parent8f7e31d24652037510c5eac81f56e711a5212246 (diff)
FFI through monoize
Diffstat (limited to 'src/mono.sml')
-rw-r--r--src/mono.sml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mono.sml b/src/mono.sml
index c94c3a46..6a5687ed 100644
--- a/src/mono.sml
+++ b/src/mono.sml
@@ -33,6 +33,7 @@ datatype typ' =
TFun of typ * typ
| TRecord of (string * typ) list
| TNamed of int
+ | TFfi of string * string
withtype typ = typ' located
@@ -40,6 +41,8 @@ datatype exp' =
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