diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-05-01 23:52:28 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-05-01 23:52:28 -0700 |
commit | f0e146fc7b947bae526657d8c858a95319abf204 (patch) | |
tree | 3886f4caa82a689df431b1342c85fa02dd138526 /html/shell/trace.mu.html | |
parent | f3fe2ac1953118b1a93828c718eaa9bdb3397939 (diff) | |
download | mu-f0e146fc7b947bae526657d8c858a95319abf204.tar.gz |
.
Diffstat (limited to 'html/shell/trace.mu.html')
-rw-r--r-- | html/shell/trace.mu.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/html/shell/trace.mu.html b/html/shell/trace.mu.html index f2d2336e..8a74c7a4 100644 --- a/html/shell/trace.mu.html +++ b/html/shell/trace.mu.html @@ -167,7 +167,7 @@ if ('onhashchange' in window) { <span id="L108" class="LineNr"> 108 </span> <a href='../108write.subx.html#L11'>write</a> message, <span class="Constant">" - find a smaller sub-computation to test,\n"</span> <span id="L109" class="LineNr"> 109 </span> <a href='../108write.subx.html#L11'>write</a> message, <span class="Constant">" - <a href='../120allocate.subx.html#L43'>allocate</a> more space to the trace in initialize-sandbox\n"</span> <span id="L110" class="LineNr"> 110 </span> <a href='../108write.subx.html#L11'>write</a> message, <span class="Constant">" (shell/sandbox.mu), or\n"</span> -<span id="L111" class="LineNr"> 111 </span> <a href='../108write.subx.html#L11'>write</a> message, <span class="Constant">" - move the computation to 'main' and <a href='sandbox.mu.html#L694'>run</a> it using ctrl-s"</span> +<span id="L111" class="LineNr"> 111 </span> <a href='../108write.subx.html#L11'>write</a> message, <span class="Constant">" - move the computation to 'main' and <a href='sandbox.mu.html#L600'>run</a> it using ctrl-s"</span> <span id="L112" class="LineNr"> 112 </span> <a href='trace.mu.html#L133'>initialize-trace-line</a> <span class="Constant">0</span>/depth, <span class="Constant">"error"</span>, message, dest <span id="L113" class="LineNr"> 113 </span> increment *index-addr <span id="L114" class="LineNr"> 114 </span> <span class="PreProc">return</span> @@ -361,7 +361,7 @@ if ('onhashchange' in window) { <span id="L302" class="LineNr"> 302 </span> <span class="PreProc">var</span> curr/<span class="Constant">ebx</span>: (addr <a href='trace.mu.html#L26'>trace-line</a>) <span class="Special"><-</span> index trace, offset <span id="L303" class="LineNr"> 303 </span> <span class="PreProc">var</span> curr-label-ah/<span class="Constant">eax</span>: (addr handle array byte) <span class="Special"><-</span> get curr, label <span id="L304" class="LineNr"> 304 </span> <span class="PreProc">var</span> curr-label/<span class="Constant">eax</span>: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *curr-label-ah -<span id="L305" class="LineNr"> 305 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L398'>render-trace-line</a> <span class="Constant">0</span>/screen, curr, <span class="Constant">0</span>, y, <span class="Constant">0x80</span>/width, <span class="Constant">0x30</span>/height, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg +<span id="L305" class="LineNr"> 305 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L398'>render-trace-line</a> <span class="Constant">0</span>/screen, curr, <span class="Constant">0</span>, y, <span class="Constant">0x80</span>/width, <span class="Constant">0x30</span>/height, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L306" class="LineNr"> 306 </span> <span class="Delimiter">}</span> <span id="L307" class="LineNr"> 307 </span> i <span class="Special"><-</span> increment <span id="L308" class="LineNr"> 308 </span> <span class="PreProc">loop</span> @@ -406,7 +406,7 @@ if ('onhashchange' in window) { <span id="L347" class="LineNr"> 347 </span> <span class="PreProc">var</span> curr/<span class="Constant">ebx</span>: (addr <a href='trace.mu.html#L26'>trace-line</a>) <span class="Special"><-</span> index trace, offset <span id="L348" class="LineNr"> 348 </span> <span class="PreProc">var</span> curr-label-ah/<span class="Constant">eax</span>: (addr handle array byte) <span class="Special"><-</span> get curr, label <span id="L349" class="LineNr"> 349 </span> <span class="PreProc">var</span> curr-label/<span class="Constant">eax</span>: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *curr-label-ah -<span id="L350" class="LineNr"> 350 </span> <span class="PreProc">var</span> bg/<span class="Constant">edi</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span>/black +<span id="L350" class="LineNr"> 350 </span> <span class="PreProc">var</span> bg/<span class="Constant">edi</span>: int <span class="Special"><-</span> copy <span class="Constant">0xc5</span>/bg=blue-bg <span id="L351" class="LineNr"> 351 </span> compare show-cursor?, <span class="Constant">0</span>/false <span id="L352" class="LineNr"> 352 </span> <span class="Delimiter">{</span> <span id="L353" class="LineNr"> 353 </span> <span class="PreProc">break-if-=</span> @@ -431,7 +431,7 @@ if ('onhashchange' in window) { <span id="L372" class="LineNr"> 372 </span> <span class="Delimiter">{</span> <span id="L373" class="LineNr"> 373 </span> compare display?, <span class="Constant">0</span>/false <span id="L374" class="LineNr"> 374 </span> <span class="PreProc">break-if-=</span> -<span id="L375" class="LineNr"> 375 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L398'>render-trace-line</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr, xmin, y, xmax, ymax, <span class="Constant">9</span>/fg=blue, bg +<span id="L375" class="LineNr"> 375 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L398'>render-trace-line</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr, xmin, y, xmax, ymax, <span class="Constant">0x38</span>/fg=trace, bg <span id="L376" class="LineNr"> 376 </span> copy-to already-hiding-lines?, <span class="Constant">0</span>/false <span id="L377" class="LineNr"> 377 </span> <span class="PreProc">break</span> $render-trace:iter <span id="L378" class="LineNr"> 378 </span> <span class="Delimiter">}</span> @@ -565,7 +565,7 @@ if ('onhashchange' in window) { <span id="L506" class="LineNr"> 506 </span> <span class="Delimiter">{</span> <span id="L507" class="LineNr"> 507 </span> compare display?, <span class="Constant">0</span>/false <span id="L508" class="LineNr"> 508 </span> <span class="PreProc">break-if-=</span> -<span id="L509" class="LineNr"> 509 </span> <span class="PreProc">var</span> dummy/<span class="Constant">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L398'>render-trace-line</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, cursor-line, xmin, y, xmax, ymax, <span class="Constant">9</span>/fg=blue, <span class="Constant">7</span>/cursor-line-bg +<span id="L509" class="LineNr"> 509 </span> <span class="PreProc">var</span> dummy/<span class="Constant">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L398'>render-trace-line</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, cursor-line, xmin, y, xmax, ymax, <span class="Constant">0x38</span>/fg=trace, <span class="Constant">7</span>/cursor-line-bg <span id="L510" class="LineNr"> 510 </span> <span class="PreProc">return</span> <span id="L511" class="LineNr"> 511 </span> <span class="Delimiter">}</span> <span id="L512" class="LineNr"> 512 </span> <span class="PreProc">var</span> dummy1/<span class="Constant">eax</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> @@ -744,20 +744,20 @@ if ('onhashchange' in window) { <span id="L685" class="LineNr"> 685 </span> <span class="PreProc">var</span> y/<span class="Constant">ecx</span>: int <span class="Special"><-</span> copy height <span id="L686" class="LineNr"> 686 </span> y <span class="Special"><-</span> decrement <span id="L687" class="LineNr"> 687 </span> <a href='../500fake-screen.mu.html#L169'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y -<span id="L688" class="LineNr"> 688 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ctrl-r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg=grey -<span id="L689" class="LineNr"> 689 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='sandbox.mu.html#L694'>run</a> <a href='main.mu.html#L4'>main</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg -<span id="L690" class="LineNr"> 690 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ctrl-s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg=grey -<span id="L691" class="LineNr"> 691 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='sandbox.mu.html#L694'>run</a> <a href='sandbox.mu.html#L1'>sandbox</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg -<span id="L692" class="LineNr"> 692 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" tab "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x18</span>/bg=keyboard -<span id="L693" class="LineNr"> 693 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" to keyboard "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg -<span id="L694" class="LineNr"> 694 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" j "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg=grey -<span id="L695" class="LineNr"> 695 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" down "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg -<span id="L696" class="LineNr"> 696 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" k "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg=grey -<span id="L697" class="LineNr"> 697 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" up "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg -<span id="L698" class="LineNr"> 698 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" enter "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg=grey -<span id="L699" class="LineNr"> 699 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='trace.mu.html#L752'>expand</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg -<span id="L700" class="LineNr"> 700 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" backspace "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg=grey -<span id="L701" class="LineNr"> 701 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='trace.mu.html#L792'>collapse</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg +<span id="L688" class="LineNr"> 688 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ctrl-r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=black +<span id="L689" class="LineNr"> 689 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='sandbox.mu.html#L600'>run</a> <a href='main.mu.html#L4'>main</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L690" class="LineNr"> 690 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ctrl-s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=black +<span id="L691" class="LineNr"> 691 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='sandbox.mu.html#L600'>run</a> <a href='sandbox.mu.html#L1'>sandbox</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L692" class="LineNr"> 692 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ctrl-m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">3</span>/bg=keyboard +<span id="L693" class="LineNr"> 693 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" to keyboard "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L694" class="LineNr"> 694 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" j "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=black +<span id="L695" class="LineNr"> 695 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" down "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L696" class="LineNr"> 696 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" k "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=black +<span id="L697" class="LineNr"> 697 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" up "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L698" class="LineNr"> 698 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" enter "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=black +<span id="L699" class="LineNr"> 699 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='trace.mu.html#L752'>expand</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L700" class="LineNr"> 700 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" backspace "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=black +<span id="L701" class="LineNr"> 701 </span> <a href='../501draw-text.mu.html#L133'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='trace.mu.html#L792'>collapse</a> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L702" class="LineNr"> 702 </span><span class="Delimiter">}</span> <span id="L703" class="LineNr"> 703 </span> <span id="L704" class="LineNr"> 704 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L704'>edit-trace</a></span> _self: (addr trace), key: grapheme <span class="Delimiter">{</span> |