5 <title>Mu -
400.mu
</title>
6 <meta name=
"Generator" content=
"Vim/8.2">
7 <meta name=
"plugin-version" content=
"vim8.1_v2">
8 <meta name=
"syntax" content=
"none">
9 <meta name=
"settings" content=
"number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback">
10 <meta name=
"colorscheme" content=
"minimal-light">
13 pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; }
14 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
16 * { font-size:12pt; font-size: 1em; }
17 .PreProc { color: #c000c0; }
19 .muRegEbx { color: #5f00ff; }
20 .muRegEcx { color: #870000; }
21 .muRegEdx { color: #af5f00; }
22 .muComment { color: #005faf; }
29 /* function to open any folds containing a jumped-to line before jumping to it */
33 lineNum
= window
.location
.hash
;
34 lineNum
= lineNum
.substr(1); /* strip off '#' */
36 if (lineNum
.indexOf('L') == -1) {
37 lineNum
= 'L'+lineNum
;
39 var lineElem
= document
.getElementById(lineNum
);
40 /* Always jump to new location even if the line was hidden inside a fold, or
41 * we corrected the raw number to a line ID.
44 lineElem
.scrollIntoView(true);
48 if ('onhashchange' in window
) {
49 window
.onhashchange
= JumpToLine
;
55 <body onload='JumpToLine();'
>
56 <a href='https://github.com/akkartik/mu/blob/main/
400.mu'
>https://github.com/akkartik/mu/blob/main/
400.mu
</a>
57 <pre id='vimCodeElement'
>
58 <span id=
"L1" class=
"LineNr"> 1 </span><span class=
"muComment"># screen
</span>
59 <span id=
"L2" class=
"LineNr"> 2 </span><span class=
"PreProc">sig
</span> <a href='
101screen.subx.html#L8'
>pixel-on-real-screen
</a> x: int, y: int, color: int
60 <span id=
"L3" class=
"LineNr"> 3 </span><span class=
"PreProc">sig
</span> <a href='
103glyph.subx.html#L19'
>draw-code-point-on-real-screen
</a> c: code-point, x: int, y: int, color: int, background-color: int
<span class=
"PreProc"> -
> </span>_/eax: int
61 <span id=
"L4" class=
"LineNr"> 4 </span><span class=
"PreProc">sig
</span> <a href='
103glyph.subx.html#L31'
>overlay-code-point-on-real-screen
</a> c: code-point, x: int, y: int, color: int, background-color: int
<span class=
"PreProc"> -
> </span>_/eax: int
62 <span id=
"L5" class=
"LineNr"> 5 </span><span class=
"PreProc">sig
</span> <a href='
103glyph.subx.html#L43'
>draw-code-point-on-screen-array
</a> screen-data: (addr array byte), c: code-point, x: int, y: int, color: int, background-color: int, screen-width: int, screen-height: int
<span class=
"PreProc"> -
> </span>_/eax: int
63 <span id=
"L6" class=
"LineNr"> 6 </span><span class=
"PreProc">sig
</span> <a href='
103glyph.subx.html#L127'
>wide-code-point?
</a> c: code-point
<span class=
"PreProc"> -
> </span>_/eax: boolean
64 <span id=
"L7" class=
"LineNr"> 7 </span><span class=
"PreProc">sig
</span> <a href='
103glyph.subx.html#L157'
>combining-code-point?
</a> c: code-point
<span class=
"PreProc"> -
> </span>_/eax: boolean
65 <span id=
"L8" class=
"LineNr"> 8 </span><span class=
"PreProc">sig
</span> <a href='
103glyph.subx.html#L341'
>cursor-position-on-real-screen
</a><span class=
"PreProc"> -
> </span>_/eax: int, _/
<span class=
"muRegEcx">ecx
</span>: int
66 <span id=
"L9" class=
"LineNr"> 9 </span><span class=
"PreProc">sig
</span> <a href='
103glyph.subx.html#L354'
>set-cursor-position-on-real-screen
</a> x: int, y: int
67 <span id=
"L10" class=
"LineNr"> 10 </span><span class=
"PreProc">sig
</span> <a href='
103glyph.subx.html#L379'
>draw-cursor-on-real-screen
</a> c: code-point
68 <span id=
"L11" class=
"LineNr"> 11 </span><span class=
"PreProc">sig
</span> <a href='
316colors.subx.html#L7'
>color-rgb
</a> color: int
<span class=
"PreProc"> -
> </span>_/
<span class=
"muRegEcx">ecx
</span>: int, _/
<span class=
"muRegEdx">edx
</span>: int, _/
<span class=
"muRegEbx">ebx
</span>: int
69 <span id=
"L12" class=
"LineNr"> 12 </span>
70 <span id=
"L13" class=
"LineNr"> 13 </span><span class=
"muComment"># timer
</span>
71 <span id=
"L14" class=
"LineNr"> 14 </span><span class=
"PreProc">sig
</span> <a href='
319timer.subx.html#L3'
>timer-counter
</a><span class=
"PreProc"> -
> </span>_/eax: int
72 <span id=
"L15" class=
"LineNr"> 15 </span>
73 <span id=
"L16" class=
"LineNr"> 16 </span><span class=
"muComment"># keyboard
</span>
74 <span id=
"L17" class=
"LineNr"> 17 </span><span class=
"PreProc">sig
</span> <a href='
102keyboard.subx.html#L21'
>read-key
</a> kbd: (addr keyboard)
<span class=
"PreProc"> -
> </span>_/eax: byte
75 <span id=
"L18" class=
"LineNr"> 18 </span>
76 <span id=
"L19" class=
"LineNr"> 19 </span><span class=
"muComment"># disk
</span>
77 <span id=
"L20" class=
"LineNr"> 20 </span><span class=
"PreProc">sig
</span> <a href='boot.subx.html#L762'
>read-ata-disk
</a> disk: (addr disk), lba: int, n: int, out: (addr stream byte)
78 <span id=
"L21" class=
"LineNr"> 21 </span><span class=
"PreProc">sig
</span> <a href='boot.subx.html#L831'
>write-ata-disk
</a> disk: (addr disk), lba: int, n: int, out: (addr stream byte)
79 <span id=
"L22" class=
"LineNr"> 22 </span>
80 <span id=
"L23" class=
"LineNr"> 23 </span><span class=
"muComment"># mouse
</span>
81 <span id=
"L24" class=
"LineNr"> 24 </span><span class=
"PreProc">sig
</span> <a href='boot.subx.html#L1237'
>read-mouse-event
</a><span class=
"PreProc"> -
> </span>_/eax: int, _/
<span class=
"muRegEcx">ecx
</span>: int
82 <span id=
"L25" class=
"LineNr"> 25 </span>
83 <span id=
"L26" class=
"LineNr"> 26 </span><span class=
"muComment"># tests
</span>
84 <span id=
"L27" class=
"LineNr"> 27 </span><span class=
"PreProc">sig
</span> <a href='
104test.subx.html#L5'
>count-test-failure
</a>
85 <span id=
"L28" class=
"LineNr"> 28 </span><span class=
"PreProc">sig
</span> <a href='
104test.subx.html#L17'
>num-test-failures
</a><span class=
"PreProc"> -
> </span>_/eax: int
86 <span id=
"L29" class=
"LineNr"> 29 </span><span class=
"PreProc">sig
</span> <a href='
104test.subx.html#L29'
>running-tests?
</a><span class=
"PreProc"> -
> </span>_/eax: boolean
87 <span id=
"L30" class=
"LineNr"> 30 </span>
88 <span id=
"L31" class=
"LineNr"> 31 </span><span class=
"PreProc">sig
</span> <a href='
105string-equal.subx.html#L8'
>string-equal?
</a> s: (addr array byte), benchmark: (addr array byte)
<span class=
"PreProc"> -
> </span>_/eax: boolean
89 <span id=
"L32" class=
"LineNr"> 32 </span><span class=
"PreProc">sig
</span> <a href='
105string-equal.subx.html#L50'
>string-starts-with?
</a> s: (addr array byte), benchmark: (addr array byte)
<span class=
"PreProc"> -
> </span>_/eax: boolean
90 <span id=
"L33" class=
"LineNr"> 33 </span><span class=
"PreProc">sig
</span> <a href='
105string-equal.subx.html#L213'
>check-strings-equal
</a> s: (addr array byte), expected: (addr array byte), msg: (addr array byte)
91 <span id=
"L34" class=
"LineNr"> 34 </span>
92 <span id=
"L35" class=
"LineNr"> 35 </span><span class=
"muComment"># debugging
</span>
93 <span id=
"L36" class=
"LineNr"> 36 </span><span class=
"PreProc">sig
</span> <a href='
315stack-debug.subx.html#L5'
>check-stack
</a>
94 <span id=
"L37" class=
"LineNr"> 37 </span><span class=
"PreProc">sig
</span> <a href='
315stack-debug.subx.html#L26'
>show-stack-state
</a>
95 <span id=
"L38" class=
"LineNr"> 38 </span><span class=
"PreProc">sig
</span> <a href='
315stack-debug.subx.html#L56'
>debug-print
</a> x: (addr array byte), fg: int, bg: int
96 <span id=
"L39" class=
"LineNr"> 39 </span><span class=
"PreProc">sig
</span> <a href='
315stack-debug.subx.html#L84'
>debug-print?
</a><span class=
"PreProc"> -
> </span>_/eax: boolean
97 <span id=
"L40" class=
"LineNr"> 40 </span><span class=
"PreProc">sig
</span> <a href='
315stack-debug.subx.html#L96'
>turn-on-debug-print
</a>
98 <span id=
"L41" class=
"LineNr"> 41 </span><span class=
"PreProc">sig
</span> <a href='
315stack-debug.subx.html#L108'
>turn-off-debug-print
</a>
99 <span id=
"L42" class=
"LineNr"> 42 </span><span class=
"PreProc">sig
</span> <a href='
317abort.subx.html#L5'
>abort
</a> e: (addr array byte)
100 <span id=
"L43" class=
"LineNr"> 43 </span><span class=
"PreProc">sig
</span> <a href='
317abort.subx.html#L21'
>dump-call-stack
</a>
101 <span id=
"L44" class=
"LineNr"> 44 </span><span class=
"PreProc">sig
</span> <a href='
120allocate.subx.html#L78'
>heap-bound
</a><span class=
"PreProc"> -
> </span>_/eax: int
102 <span id=
"L45" class=
"LineNr"> 45 </span>
103 <span id=
"L46" class=
"LineNr"> 46 </span><span class=
"PreProc">sig
</span> <a href='
318debug-counter.subx.html#L5'
>count-event
</a>
104 <span id=
"L47" class=
"LineNr"> 47 </span><span class=
"PreProc">sig
</span> <a href='
318debug-counter.subx.html#L17'
>count-of-events
</a><span class=
"PreProc"> -
> </span>_/eax: int
105 <span id=
"L48" class=
"LineNr"> 48 </span>
106 <span id=
"L49" class=
"LineNr"> 49 </span><span class=
"muComment"># streams
</span>
107 <span id=
"L50" class=
"LineNr"> 50 </span><span class=
"PreProc">sig
</span> <a href='
106stream.subx.html#L20'
>clear-stream
</a> f: (addr stream _)
108 <span id=
"L51" class=
"LineNr"> 51 </span><span class=
"PreProc">sig
</span> <a href='
106stream.subx.html#L59'
>rewind-stream
</a> f: (addr stream _)
109 <span id=
"L52" class=
"LineNr"> 52 </span><span class=
"PreProc">sig
</span> <a href='
109stream-equal.subx.html#L9'
>stream-data-equal?
</a> f: (addr stream byte), s: (addr array byte)
<span class=
"PreProc"> -
> </span>_/eax: boolean
110 <span id=
"L53" class=
"LineNr"> 53 </span><span class=
"PreProc">sig
</span> <a href='
309stream.subx.html#L211'
>streams-data-equal?
</a> a: (addr stream byte), b: (addr stream byte)
<span class=
"PreProc"> -
> </span>_/eax: boolean
111 <span id=
"L54" class=
"LineNr"> 54 </span><span class=
"PreProc">sig
</span> <a href='
109stream-equal.subx.html#L194'
>check-stream-equal
</a> f: (addr stream byte), s: (addr array byte), msg: (addr array byte)
112 <span id=
"L55" class=
"LineNr"> 55 </span><span class=
"PreProc">sig
</span> <a href='
309stream.subx.html#L300'
>check-streams-data-equal
</a> s: (addr stream _), expected: (addr stream _), msg: (addr array byte)
113 <span id=
"L56" class=
"LineNr"> 56 </span><span class=
"PreProc">sig
</span> <a href='
109stream-equal.subx.html#L230'
>next-stream-line-equal?
</a> f: (addr stream byte), s: (addr array byte)
<span class=
"PreProc"> -
> </span>_/eax: boolean
114 <span id=
"L57" class=
"LineNr"> 57 </span><span class=
"PreProc">sig
</span> <a href='
109stream-equal.subx.html#L565'
>check-next-stream-line-equal
</a> f: (addr stream byte), s: (addr array byte), msg: (addr array byte)
115 <span id=
"L58" class=
"LineNr"> 58 </span><span class=
"PreProc">sig
</span> <a href='
108write.subx.html#L11'
>write
</a> f: (addr stream byte), s: (addr array byte)
116 <span id=
"L59" class=
"LineNr"> 59 </span><span class=
"PreProc">sig
</span> <a href='
108write.subx.html#L138'
>try-write
</a> f: (addr stream byte), s: (addr array byte)
<span class=
"PreProc"> -
> </span>_/eax: boolean
117 <span id=
"L60" class=
"LineNr"> 60 </span><span class=
"muComment"># probably a bad idea; I definitely want to discourage its use for streams of non-bytes
</span>
118 <span id=
"L61" class=
"LineNr"> 61 </span><span class=
"PreProc">sig
</span> <a href='
108write.subx.html#L194'
>stream-size
</a> f: (addr stream byte)
<span class=
"PreProc"> -
> </span>_/eax: int
119 <span id=
"L62" class=
"LineNr"> 62 </span><span class=
"PreProc">sig
</span> <a href='
108write.subx.html#L176'
>space-remaining-in-stream
</a> f: (addr stream byte)
<span class=
"PreProc"> -
> </span>_/eax: int
120 <span id=
"L63" class=
"LineNr"> 63 </span><span class=
"PreProc">sig
</span> <a href='
113write-stream.subx.html#L8'
>write-stream
</a> f: (addr stream byte), s: (addr stream byte)
121 <span id=
"L64" class=
"LineNr"> 64 </span><span class=
"PreProc">sig
</span> <a href='
113write-stream.subx.html#L163'
>write-stream-immutable
</a> f: (addr stream byte), s: (addr stream byte)
122 <span id=
"L65" class=
"LineNr"> 65 </span><span class=
"PreProc">sig
</span> <a href='
112read-byte.subx.html#L13'
>read-byte
</a> s: (addr stream byte)
<span class=
"PreProc"> -
> </span>_/eax: byte
123 <span id=
"L66" class=
"LineNr"> 66 </span><span class=
"PreProc">sig
</span> <a href='
112read-byte.subx.html#L47'
>peek-byte
</a> s: (addr stream byte)
<span class=
"PreProc"> -
> </span>_/eax: byte
124 <span id=
"L67" class=
"LineNr"> 67 </span><span class=
"PreProc">sig
</span> <a href='
115write-byte.subx.html#L12'
>append-byte
</a> f: (addr stream byte), n: int
<span class=
"muComment"># really just a byte, but I want to pass in literal numbers
</span>
125 <span id=
"L68" class=
"LineNr"> 68 </span><span class=
"PreProc">sig
</span> <a href='
115write-byte.subx.html#L79'
>undo-append-byte
</a> f: (addr stream byte)
<span class=
"muComment"># take most recent append back out
</span>
126 <span id=
"L69" class=
"LineNr"> 69 </span><span class=
"muComment">#sig to-hex-char in/eax: int -
> out/eax: int
</span>
127 <span id=
"L70" class=
"LineNr"> 70 </span><span class=
"PreProc">sig
</span> <a href='
117write-int-hex.subx.html#L21'
>append-byte-hex
</a> f: (addr stream byte), n: int
<span class=
"muComment"># really just a byte, but I want to pass in literal numbers
</span>
128 <span id=
"L71" class=
"LineNr"> 71 </span><span class=
"PreProc">sig
</span> <a href='
117write-int-hex.subx.html#L92'
>write-int32-hex
</a> f: (addr stream byte), n: int
129 <span id=
"L72" class=
"LineNr"> 72 </span><span class=
"PreProc">sig
</span> <a href='
117write-int-hex.subx.html#L123'
>write-int32-hex-bits
</a> f: (addr stream byte), n: int, bits: int
130 <span id=
"L73" class=
"LineNr"> 73 </span><span class=
"PreProc">sig
</span> <a href='
118parse-hex-int.subx.html#L9'
>hex-int?
</a> in: (addr slice)
<span class=
"PreProc"> -
> </span>_/eax: boolean
131 <span id=
"L74" class=
"LineNr"> 74 </span><span class=
"PreProc">sig
</span> <a href='
118parse-hex-int.subx.html#L354'
>parse-hex-int
</a> in: (addr array byte)
<span class=
"PreProc"> -
> </span>_/eax: int
132 <span id=
"L75" class=
"LineNr"> 75 </span><span class=
"PreProc">sig
</span> <a href='
118parse-hex-int.subx.html#L387'
>parse-hex-int-from-slice
</a> in: (addr slice)
<span class=
"PreProc"> -
> </span>_/eax: int
133 <span id=
"L76" class=
"LineNr"> 76 </span><span class=
"muComment">#sig parse-hex-int-helper start: (addr byte), end: (addr byte) -
> _/eax: int
</span>
134 <span id=
"L77" class=
"LineNr"> 77 </span><span class=
"PreProc">sig
</span> <a href='
118parse-hex-int.subx.html#L701'
>hex-digit?
</a> c: byte
<span class=
"PreProc"> -
> </span>_/eax: boolean
135 <span id=
"L78" class=
"LineNr"> 78 </span><span class=
"muComment">#sig from-hex-char in/eax: byte -
> out/eax: nibble
</span>
136 <span id=
"L79" class=
"LineNr"> 79 </span><span class=
"PreProc">sig
</span> <a href='
311decimal-int.subx.html#L23'
>parse-decimal-int
</a> in: (addr array byte)
<span class=
"PreProc"> -
> </span>_/eax: int
137 <span id=
"L80" class=
"LineNr"> 80 </span><span class=
"PreProc">sig
</span> <a href='
311decimal-int.subx.html#L4'
>parse-decimal-int-from-slice
</a> in: (addr slice)
<span class=
"PreProc"> -
> </span>_/eax: int
138 <span id=
"L81" class=
"LineNr"> 81 </span><span class=
"PreProc">sig
</span> <a href='
311decimal-int.subx.html#L48'
>parse-decimal-int-from-stream
</a> in: (addr stream byte)
<span class=
"PreProc"> -
> </span>_/eax: int
139 <span id=
"L82" class=
"LineNr"> 82 </span><span class=
"muComment">#sig parse-decimal-int-helper start: (addr byte), end: (addr byte) -
> _/eax: int
</span>
140 <span id=
"L83" class=
"LineNr"> 83 </span><span class=
"PreProc">sig
</span> <a href='
311decimal-int.subx.html#L312'
>decimal-size
</a> n: int
<span class=
"PreProc"> -
> </span>_/eax: int
141 <span id=
"L84" class=
"LineNr"> 84 </span><span class=
"muComment">#sig allocate ad: (addr allocation-descriptor), n: int, out: (addr handle _)
</span>
142 <span id=
"L85" class=
"LineNr"> 85 </span><span class=
"muComment">#sig allocate-raw ad: (addr allocation-descriptor), n: int, out: (addr handle _)
</span>
143 <span id=
"L86" class=
"LineNr"> 86 </span><span class=
"PreProc">sig
</span> <a href='
120allocate.subx.html#L235'
>lookup
</a> h: (handle _T)
<span class=
"PreProc"> -
> </span>_/eax: (addr _T)
144 <span id=
"L87" class=
"LineNr"> 87 </span><span class=
"PreProc">sig
</span> <a href='
120allocate.subx.html#L460'
>handle-equal?
</a> a: (handle _T), b: (handle _T)
<span class=
"PreProc"> -
> </span>_/eax: boolean
145 <span id=
"L88" class=
"LineNr"> 88 </span><span class=
"PreProc">sig
</span> <a href='
120allocate.subx.html#L491'
>copy-handle
</a> src: (handle _T), dest: (addr handle _T)
146 <span id=
"L89" class=
"LineNr"> 89 </span><span class=
"muComment">#sig allocate-region ad: (addr allocation-descriptor), n: int, out: (addr handle allocation-descriptor)
</span>
147 <span id=
"L90" class=
"LineNr"> 90 </span><span class=
"muComment">#sig allocate-array ad: (addr allocation-descriptor), n: int, out: (addr handle _)
</span>
148 <span id=
"L91" class=
"LineNr"> 91 </span><span class=
"PreProc">sig
</span> <a href='
120allocate.subx.html#L702'
>copy-array
</a> ad: (addr allocation-descriptor), src: (addr array _T), out: (addr handle array _T)
149 <span id=
"L92" class=
"LineNr"> 92 </span><span class=
"muComment">#sig zero-out start: (addr byte), size: int
</span>
150 <span id=
"L93" class=
"LineNr"> 93 </span><span class=
"PreProc">sig
</span> <a href='
123slice.subx.html#L9'
>slice-empty?
</a> s: (addr slice)
<span class=
"PreProc"> -
> </span>_/eax: boolean
151 <span id=
"L94" class=
"LineNr"> 94 </span><span class=
"PreProc">sig
</span> <a href='
123slice.subx.html#L120'
>slice-equal?
</a> s: (addr slice), p: (addr array byte)
<span class=
"PreProc"> -
> </span>_/eax: boolean
152 <span id=
"L95" class=
"LineNr"> 95 </span><span class=
"PreProc">sig
</span> <a href='
123slice.subx.html#L487'
>slice-starts-with?
</a> s: (addr slice), head: (addr array byte)
<span class=
"PreProc"> -
> </span>_/eax: boolean
153 <span id=
"L96" class=
"LineNr"> 96 </span><span class=
"PreProc">sig
</span> <a href='
123slice.subx.html#L793'
>write-slice
</a> out: (addr stream byte), s: (addr slice)
154 <span id=
"L97" class=
"LineNr"> 97 </span><span class=
"muComment"># bad name alert
</span>
155 <span id=
"L98" class=
"LineNr"> 98 </span><span class=
"PreProc">sig
</span> <a href='
123slice.subx.html#L898'
>slice-to-string
</a> ad: (addr allocation-descriptor), in: (addr slice), out: (addr handle array byte)
156 <span id=
"L99" class=
"LineNr"> 99 </span><span class=
"PreProc">sig
</span> <a href='
126write-int-decimal.subx.html#L8'
>write-int32-decimal
</a> out: (addr stream byte), n: int
157 <span id=
"L100" class=
"LineNr">100 </span><span class=
"PreProc">sig
</span> <a href='
126write-int-decimal.subx.html#L327'
>decimal-digit?
</a> c: code-point-utf8
<span class=
"PreProc"> -
> </span>_/eax: boolean
158 <span id=
"L101" class=
"LineNr">101 </span><span class=
"PreProc">sig
</span> <a href='
126write-int-decimal.subx.html#L426'
>to-decimal-digit
</a> in: code-point-utf8
<span class=
"PreProc"> -
> </span>_/eax: int
159 <span id=
"L102" class=
"LineNr">102 </span><span class=
"muComment"># bad name alert
</span>
160 <span id=
"L103" class=
"LineNr">103 </span><span class=
"muComment"># next-word really tokenizes
</span>
161 <span id=
"L104" class=
"LineNr">104 </span><span class=
"muComment"># next-raw-word really reads whitespace-separated words
</span>
162 <span id=
"L105" class=
"LineNr">105 </span><span class=
"PreProc">sig
</span> <a href='
127next-word.subx.html#L11'
>next-word
</a> line: (addr stream byte), out: (addr slice)
<span class=
"muComment"># merges '#' comments into a single word
</span>
163 <span id=
"L106" class=
"LineNr">106 </span><span class=
"PreProc">sig
</span> <a href='
127next-word.subx.html#L321'
>next-raw-word
</a> line: (addr stream byte), out: (addr slice)
<span class=
"muComment"># does not merge '#' comments
</span>
164 <span id=
"L107" class=
"LineNr">107 </span><span class=
"PreProc">sig
</span> <a href='
124next-token.subx.html#L188'
>skip-chars-matching
</a> in: (addr stream byte), delimiter: byte
165 <span id=
"L108" class=
"LineNr">108 </span><span class=
"PreProc">sig
</span> <a href='
124next-token.subx.html#L311'
>skip-chars-matching-whitespace
</a> in: (addr stream byte)
166 <span id=
"L109" class=
"LineNr">109 </span><span class=
"PreProc">sig
</span> <a href='
124next-token.subx.html#L401'
>skip-chars-not-matching
</a> in: (addr stream byte), delimiter: byte
167 <span id=
"L110" class=
"LineNr">110 </span><span class=
"PreProc">sig
</span> <a href='
124next-token.subx.html#L563'
>skip-chars-not-matching-whitespace
</a> in: (addr stream byte)
168 <span id=
"L111" class=
"LineNr">111 </span><span class=
"PreProc">sig
</span> <a href='
309stream.subx.html#L6'
>stream-empty?
</a> s: (addr stream _)
<span class=
"PreProc"> -
> </span>_/eax: boolean
169 <span id=
"L112" class=
"LineNr">112 </span><span class=
"PreProc">sig
</span> <a href='
309stream.subx.html#L30'
>stream-full?
</a> s: (addr stream _)
<span class=
"PreProc"> -
> </span>_/eax: boolean
170 <span id=
"L113" class=
"LineNr">113 </span><span class=
"PreProc">sig
</span> <a href='
310copy-bytes.subx.html#L60'
>stream-to-array
</a> in: (addr stream _), out: (addr handle array _)
171 <span id=
"L114" class=
"LineNr">114 </span><span class=
"PreProc">sig
</span> <a href='
310copy-bytes.subx.html#L124'
>unquote-stream-to-array
</a> in: (addr stream _), out: (addr handle array _)
172 <span id=
"L115" class=
"LineNr">115 </span><span class=
"PreProc">sig
</span> <a href='
309stream.subx.html#L154'
>stream-first
</a> s: (addr stream byte)
<span class=
"PreProc"> -
> </span>_/eax: byte
173 <span id=
"L116" class=
"LineNr">116 </span><span class=
"PreProc">sig
</span> <a href='
309stream.subx.html#L181'
>stream-final
</a> s: (addr stream byte)
<span class=
"PreProc"> -
> </span>_/eax: byte
174 <span id=
"L117" class=
"LineNr">117 </span>
175 <span id=
"L118" class=
"LineNr">118 </span><span class=
"muComment">#sig copy-bytes src: (addr byte), dest: (addr byte), n: int
</span>
176 <span id=
"L119" class=
"LineNr">119 </span><span class=
"PreProc">sig
</span> <a href='
312copy.subx.html#L3'
>copy-array-object
</a> src: (addr array _), dest-ah: (addr handle array _)
177 <span id=
"L120" class=
"LineNr">120 </span><span class=
"PreProc">sig
</span> <a href='
301array-equal.subx.html#L5'
>array-equal?
</a> a: (addr array int), b: (addr array int)
<span class=
"PreProc"> -
> </span>_/eax: boolean
178 <span id=
"L121" class=
"LineNr">121 </span><span class=
"PreProc">sig
</span> <a href='
301array-equal.subx.html#L368'
>parse-array-of-ints
</a> s: (addr array byte), out: (addr handle array int)
179 <span id=
"L122" class=
"LineNr">122 </span><span class=
"PreProc">sig
</span> <a href='
311decimal-int.subx.html#L623'
>parse-array-of-decimal-ints
</a> s: (addr array byte), out: (addr handle array int)
180 <span id=
"L123" class=
"LineNr">123 </span><span class=
"PreProc">sig
</span> <a href='
301array-equal.subx.html#L382'
>check-array-equal
</a> a: (addr array int), expected: (addr array byte), msg: (addr array byte)
181 <span id=
"L124" class=
"LineNr">124 </span>
182 <span id=
"L125" class=
"LineNr">125 </span><span class=
"PreProc">sig
</span> <a href='
314divide.subx.html#L3'
>integer-divide
</a> a: int, b: int
<span class=
"PreProc"> -
> </span>_/eax: int, _/
<span class=
"muRegEdx">edx
</span>: int
186 <!-- vim: set foldmethod=manual : -->