summaryrefslogtreecommitdiff
path: root/src/cjr.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 10:21:38 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-06-22 10:21:38 -0400
commit3b6cb47aff3c43b36945c1558eb21d3c7661a9c4 (patch)
tree4570f1ce1befeaa15dd6b15de8768925b097c0eb /src/cjr.sml
parentd60f854fc35ce30fb698f3d8e87b88938001fdaf (diff)
FFI through cjrize
Diffstat (limited to 'src/cjr.sml')
-rw-r--r--src/cjr.sml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cjr.sml b/src/cjr.sml
index c0a2ea15..35dad087 100644
--- a/src/cjr.sml
+++ b/src/cjr.sml
@@ -35,6 +35,7 @@ datatype typ' =
| TCode of typ * typ
| TRecord of int
| TNamed of int
+ | TFfi of string * string
withtype typ = typ' located
@@ -42,6 +43,8 @@ datatype exp' =
EPrim of Prim.t
| ERel of int
| ENamed of int
+ | EFfi of string * string
+ | EFfiApp of string * string * exp list
| ECode of int
| EApp of exp * exp