diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-10-26 23:42:27 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-10-26 23:42:27 -0700 |
commit | 0fba3393a5becfb38dea19464e02dc17a64b7574 (patch) | |
tree | 4fa462062d03169727d6ca884c77d57316634957 /apps/dquotes.subx | |
parent | f0b7e327c5e612ea2f72f2e41c046a2105076654 (diff) | |
download | mu-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/dquotes.subx')
-rw-r--r-- | apps/dquotes.subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dquotes.subx b/apps/dquotes.subx index 0f50f752..7e6318cb 100644 --- a/apps/dquotes.subx +++ b/apps/dquotes.subx @@ -62,7 +62,7 @@ $subx-dquotes-main:interactive: # configure ed to really exit() # . ed->target = 0 c7 0/subop/copy 0/mod/direct 0/rm32/eax . . . . . 0/imm32 # copy to *eax - # subx-dquotes(Stdin, 1/stdout, 2/stderr, ed) + # subx-dquotes(Stdin, Stdout, Stderr, ed) # . . push args 50/push-eax/ed 68/push Stderr/imm32 @@ -84,8 +84,8 @@ $subx-dquotes-main:end: subx-dquotes: # in : (address buffered-file), out : (address buffered-file) # pseudocode: - # var line = new-stream(512, 1) - # var new-data-segment = new-stream(Heap, Segment-size, 1) + # var line : (stream byte 512) + # var new-data-segment : (handle stream byte) = new-stream(Heap, Segment-size, 1) # write(new-data-segment, "== data\n") # while true # clear-stream(line) |