about summary refs log tree commit diff stats
path: root/baremetal/shell/cell.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-03-01 23:27:07 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-03-01 23:27:07 -0800
commit124be197a0385f21193c404b7575597dfc19a3f2 (patch)
treea9492bb5321acef17183287ecc95b8207a7e3ec1 /baremetal/shell/cell.mu
parent0749772be12078cb6317d1d53d03444c00f9810b (diff)
downloadmu-124be197a0385f21193c404b7575597dfc19a3f2.tar.gz
7838
Diffstat (limited to 'baremetal/shell/cell.mu')
-rw-r--r--baremetal/shell/cell.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/baremetal/shell/cell.mu b/baremetal/shell/cell.mu
index 8627af1c..aeda65f6 100644
--- a/baremetal/shell/cell.mu
+++ b/baremetal/shell/cell.mu
@@ -11,7 +11,7 @@ type cell {
   # TODO: array, (associative) table, stream
 }
 
-fn new-symbol _out: (addr handle cell) {
+fn allocate-symbol _out: (addr handle cell) {
   var out/eax: (addr handle cell) <- copy _out
   allocate out
   var out-addr/eax: (addr cell) <- lookup *out
@@ -21,7 +21,7 @@ fn new-symbol _out: (addr handle cell) {
   populate-stream dest-ah, 0x40/max-symbol-size
 }
 
-fn new-number _out: (addr handle cell) {
+fn allocate-number _out: (addr handle cell) {
   var out/eax: (addr handle cell) <- copy _out
   allocate out
   var out-addr/eax: (addr cell) <- lookup *out
@@ -29,7 +29,7 @@ fn new-number _out: (addr handle cell) {
   copy-to *type, 1/number
 }
 
-fn new-pair _out: (addr handle cell) {
+fn allocate-pair _out: (addr handle cell) {
   var out/eax: (addr handle cell) <- copy _out
   allocate out
   # new cells have type pair by default