about summary refs log tree commit diff stats
path: root/apps/calls.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-10-26 23:42:27 -0700
committerKartik Agaram <vc@akkartik.com>2019-10-26 23:42:27 -0700
commit0fba3393a5becfb38dea19464e02dc17a64b7574 (patch)
tree4fa462062d03169727d6ca884c77d57316634957 /apps/calls.subx
parentf0b7e327c5e612ea2f72f2e41c046a2105076654 (diff)
downloadmu-0fba3393a5becfb38dea19464e02dc17a64b7574.tar.gz
5715
Clean up pseudocode to match planned syntax for the type- and memory-safe
level-2 Mu language.

http://akkartik.name/post/mu-2019-2 is already out of date.
Diffstat (limited to 'apps/calls.subx')
-rw-r--r--apps/calls.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calls.subx b/apps/calls.subx
index 5a306dbc..f6de6c7f 100644
--- a/apps/calls.subx
+++ b/apps/calls.subx
@@ -77,8 +77,8 @@ $subx-calls-main:end:
 
 subx-calls:  # in : (address buffered-file), out : (address buffered-file)
     # pseudocode:
-    #   var line = new-stream(512, 1)
-    #   var words : (address stream slice) = new-stream(16, 8)  # at most function name and 15 args
+    #   var line : (stream byte 512)
+    #   var words : (stream slice 16)  # at most function name and 15 args
     #   while true
     #     clear-stream(line)
     #     read-line-buffered(in, line)