diff options
Diffstat (limited to 'html/apps/braces.subx.html')
-rw-r--r-- | html/apps/braces.subx.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/html/apps/braces.subx.html b/html/apps/braces.subx.html index bc8eb925..28d0515e 100644 --- a/html/apps/braces.subx.html +++ b/html/apps/braces.subx.html @@ -134,11 +134,11 @@ if ('onhashchange' in window) { <span id="L75" class="LineNr"> 75 </span> b8/copy-to-eax 1/imm32/exit <span id="L76" class="LineNr"> 76 </span> cd/syscall 0x80/imm8 <span id="L77" class="LineNr"> 77 </span> -<span id="L78" class="LineNr"> 78 </span><span class="subxFunction">subx-braces</span>: <span class="subxComment"># in : (addr buffered-file), out : (addr buffered-file)</span> +<span id="L78" class="LineNr"> 78 </span><span class="subxFunction">subx-braces</span>: <span class="subxComment"># in: (addr buffered-file), out: (addr buffered-file)</span> <span id="L79" class="LineNr"> 79 </span> <span class="subxComment"># pseudocode:</span> -<span id="L80" class="LineNr"> 80 </span> <span class="subxComment"># var line : (stream byte 512)</span> -<span id="L81" class="LineNr"> 81 </span> <span class="subxComment"># var label-stack : (stack int 32) # at most 32 levels of nesting</span> -<span id="L82" class="LineNr"> 82 </span> <span class="subxComment"># var next-label-id : int = 1</span> +<span id="L80" class="LineNr"> 80 </span> <span class="subxComment"># var line: (stream byte 512)</span> +<span id="L81" class="LineNr"> 81 </span> <span class="subxComment"># var label-stack: (stack int 32) # at most 32 levels of nesting</span> +<span id="L82" class="LineNr"> 82 </span> <span class="subxComment"># var next-label-id: int = 1</span> <span id="L83" class="LineNr"> 83 </span> <span class="subxComment"># while true</span> <span id="L84" class="LineNr"> 84 </span> <span class="subxComment"># clear-stream(line)</span> <span id="L85" class="LineNr"> 85 </span> <span class="subxComment"># read-line-buffered(in, line)</span> @@ -154,7 +154,7 @@ if ('onhashchange' in window) { <span id="L95" class="LineNr"> 95 </span> <span class="subxComment"># print(out, "_break" top ":\n")</span> <span id="L96" class="LineNr"> 96 </span> <span class="subxComment"># continue</span> <span id="L97" class="LineNr"> 97 </span> <span class="subxComment"># while true</span> -<span id="L98" class="LineNr"> 98 </span> <span class="subxComment"># var word-slice : (addr slice) = next-word-or-string(line)</span> +<span id="L98" class="LineNr"> 98 </span> <span class="subxComment"># var word-slice: (addr slice) = next-word-or-string(line)</span> <span id="L99" class="LineNr"> 99 </span> <span class="subxComment"># if slice-empty?(word-slice) # end of line</span> <span id="L100" class="LineNr">100 </span> <span class="subxComment"># break</span> <span id="L101" class="LineNr">101 </span> <span class="subxComment"># if slice-starts-with?(word-slice, "#") # comment</span> @@ -182,20 +182,20 @@ if ('onhashchange' in window) { <span id="L123" class="LineNr">123 </span> 57/push-edi <span id="L124" class="LineNr">124 </span> <span class="subxComment"># esi = in</span> <span id="L125" class="LineNr">125 </span> 8b/-> *(ebp+8) 6/r32/esi -<span id="L126" class="LineNr">126 </span> <span class="subxComment"># var line/ecx : (stream byte 512)</span> +<span id="L126" class="LineNr">126 </span> <span class="subxComment"># var line/ecx: (stream byte 512)</span> <span id="L127" class="LineNr">127 </span> 81 5/subop/subtract %esp 0x200/imm32 <span id="L128" class="LineNr">128 </span> 68/push 0x200/imm32/length <span id="L129" class="LineNr">129 </span> 68/push 0/imm32/read <span id="L130" class="LineNr">130 </span> 68/push 0/imm32/write <span id="L131" class="LineNr">131 </span> 89/<- %ecx 4/r32/esp -<span id="L132" class="LineNr">132 </span> <span class="subxComment"># var label-stack/edx : (stack int 32)</span> +<span id="L132" class="LineNr">132 </span> <span class="subxComment"># var label-stack/edx: (stack int 32)</span> <span id="L133" class="LineNr">133 </span> 81 5/subop/subtract %esp 0x80/imm32 <span id="L134" class="LineNr">134 </span> 68/push 0x80/imm32/length <span id="L135" class="LineNr">135 </span> 68/push 0/imm32/top <span id="L136" class="LineNr">136 </span> 89/<- %edx 4/r32/esp -<span id="L137" class="LineNr">137 </span> <span class="subxComment"># var next-label-id/ebx : int = 1</span> +<span id="L137" class="LineNr">137 </span> <span class="subxComment"># var next-label-id/ebx: int = 1</span> <span id="L138" class="LineNr">138 </span> c7 0/subop/copy %ebx 1/imm32 -<span id="L139" class="LineNr">139 </span> <span class="subxComment"># var word-slice/edi : slice</span> +<span id="L139" class="LineNr">139 </span> <span class="subxComment"># var word-slice/edi: slice</span> <span id="L140" class="LineNr">140 </span> 68/push 0/imm32/end <span id="L141" class="LineNr">141 </span> 68/push 0/imm32/start <span id="L142" class="LineNr">142 </span> 89/<- %edi 4/r32/esp |