about summary refs log tree commit diff stats
path: root/apps/tile/data.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-05 21:32:45 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-05 21:32:45 -0700
commit88e23b97dfbe275296f3722b1ce589aee3fc0af2 (patch)
treece8bef287ddb1085454319551ba57030d0dc3420 /apps/tile/data.mu
parentc2844535f38c4eeb3b822d83947d495e716ab580 (diff)
downloadmu-88e23b97dfbe275296f3722b1ce589aee3fc0af2.tar.gz
6965
Diffstat (limited to 'apps/tile/data.mu')
-rw-r--r--apps/tile/data.mu8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/tile/data.mu b/apps/tile/data.mu
index aac2dc6d..4e82bb65 100644
--- a/apps/tile/data.mu
+++ b/apps/tile/data.mu
@@ -1,5 +1,5 @@
 type program {
-  defs: (handle function)
+  functions: (handle function)
   sandboxes: (handle sandbox)
 }
 
@@ -61,8 +61,8 @@ type result {
 
 fn initialize-program _program: (addr program) {
   var program/esi: (addr program) <- copy _program
-  var defs/eax: (addr handle function) <- get program, defs
-  create-primitive-defs defs
+  var functions/eax: (addr handle function) <- get program, functions
+  create-primitive-functions functions
   var sandbox-ah/eax: (addr handle sandbox) <- get program, sandboxes
   allocate sandbox-ah
   var sandbox/eax: (addr sandbox) <- lookup *sandbox-ah
@@ -95,7 +95,7 @@ fn initialize-line _line: (addr line), out: (addr handle word) {
   initialize-word word
 }
 
-fn create-primitive-defs _self: (addr handle function) {
+fn create-primitive-functions _self: (addr handle function) {
   # x 2* = x 2 *
   var self/esi: (addr handle function) <- copy _self
   allocate self