about summary refs log tree commit diff stats
path: root/064write-byte.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-12 12:11:15 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-12 14:49:35 -0800
commitf1eade728695ed3f52ae4e13f0a91dfe769e8567 (patch)
treed43079a8127487ecf9837600961f333e41ab7320 /064write-byte.subx
parente064f1bbfdbd4386d752fbb750bf36d91dce413b (diff)
downloadmu-f1eade728695ed3f52ae4e13f0a91dfe769e8567.tar.gz
5883 - drop the `ref` keyword
When I created it I was conflating two things:
a) needing to refer to just the start, rather than the whole, and
b) counting indirections.

Both are kinda ill-posed. Now Mu will have just `addr` and `handle` types.
Normal types will translate implicitly to `addr` types, while `handle`
will always require explicit handling.
Diffstat (limited to '064write-byte.subx')
-rw-r--r--064write-byte.subx10
1 files changed, 5 insertions, 5 deletions
diff --git a/064write-byte.subx b/064write-byte.subx
index cd68eea7..a5f886b2 100644
--- a/064write-byte.subx
+++ b/064write-byte.subx
@@ -7,7 +7,7 @@
 == data
 
 # The buffered file for standard output.
-Stdout:  # (ref buffered-file)
+Stdout:  # buffered-file
     # file descriptor or (addr stream byte)
     1/imm32  # standard output
 $Stdout->buffer:
@@ -283,7 +283,7 @@ test-append-byte-single:
 
 == data
 
-_test-output-stream:  # (ref stream byte)
+_test-output-stream:  # (stream byte)
     # current write index
     0/imm32
     # current read index
@@ -325,7 +325,7 @@ _test-output-stream:  # (ref stream byte)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 
 # a test buffered file for _test-output-stream
-_test-output-buffered-file:  # (ref buffered-file)
+_test-output-buffered-file:  # buffered-file
     # file descriptor or (addr stream byte)
     _test-output-stream/imm32
 $_test-output-buffered-file->buffer:
@@ -338,7 +338,7 @@ $_test-output-buffered-file->buffer:
     # data
     00 00 00 00 00 00  # 6 bytes
 
-_test-error-stream:  # (ref stream byte)
+_test-error-stream:  # (stream byte)
     # current write index
     0/imm32
     # current read index
@@ -356,7 +356,7 @@ _test-error-stream:  # (ref stream byte)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 
 # a test buffered file for _test-error-stream
-_test-error-buffered-file:  # (ref buffered-file)
+_test-error-buffered-file:  # buffered-file
     # file descriptor or (addr stream byte)
     _test-error-stream/imm32
 $_test-error-buffered-file->buffer: