diff options
Diffstat (limited to 'html/shell')
-rw-r--r-- | html/shell/cell.mu.html | 18 | ||||
-rw-r--r-- | html/shell/environment.mu.html | 90 | ||||
-rw-r--r-- | html/shell/evaluate.mu.html | 38 | ||||
-rw-r--r-- | html/shell/global.mu.html | 72 | ||||
-rw-r--r-- | html/shell/infix.mu.html | 34 | ||||
-rw-r--r-- | html/shell/int-stack.mu.html | 14 | ||||
-rw-r--r-- | html/shell/macroexpand.mu.html | 30 | ||||
-rw-r--r-- | html/shell/main.mu.html | 16 | ||||
-rw-r--r-- | html/shell/parenthesize.mu.html | 30 | ||||
-rw-r--r-- | html/shell/parse.mu.html | 14 | ||||
-rw-r--r-- | html/shell/primitives.mu.html | 144 | ||||
-rw-r--r-- | html/shell/print.mu.html | 18 | ||||
-rw-r--r-- | html/shell/read.mu.html | 14 | ||||
-rw-r--r-- | html/shell/sandbox.mu.html | 132 | ||||
-rw-r--r-- | html/shell/tokenize.mu.html | 122 | ||||
-rw-r--r-- | html/shell/trace.mu.html | 82 |
16 files changed, 434 insertions, 434 deletions
diff --git a/html/shell/cell.mu.html b/html/shell/cell.mu.html index a589d091..618b296a 100644 --- a/html/shell/cell.mu.html +++ b/html/shell/cell.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/cell.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -26,7 +26,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -292,7 +292,7 @@ if ('onhashchange' in window) { <span id="L232" class="LineNr">232 </span> <span class="Delimiter">}</span> <span id="L233" class="LineNr">233 </span> <span class="PreProc">var</span> screen-ah/eax: (addr handle <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> get self, screen-data <span id="L234" class="LineNr">234 </span> <span class="PreProc">var</span> <a href='../500fake-screen.mu.html#L14'>screen</a>/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *screen-ah -<span id="L235" class="LineNr">235 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L235" class="LineNr">235 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L236" class="LineNr">236 </span><span class="Delimiter">}</span> <span id="L237" class="LineNr">237 </span> <span id="L238" class="LineNr">238 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='cell.mu.html#L238'>allocate-keyboard</a></span> _out: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Delimiter">{</span> @@ -334,7 +334,7 @@ if ('onhashchange' in window) { <span id="L274" class="LineNr">274 </span> <span class="Delimiter">}</span> <span id="L275" class="LineNr">275 </span> <span class="PreProc">var</span> keyboard-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get self, keyboard-data <span id="L276" class="LineNr">276 </span> <span class="PreProc">var</span> keyboard/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *keyboard-ah -<span id="L277" class="LineNr">277 </span> <a href='../514gap-buffer.mu.html#L1015'>rewind-gap-buffer</a> keyboard +<span id="L277" class="LineNr">277 </span> <a href='../514gap-buffer.mu.html#L1014'>rewind-gap-buffer</a> keyboard <span id="L278" class="LineNr">278 </span><span class="Delimiter">}</span> <span id="L279" class="LineNr">279 </span> <span id="L280" class="LineNr">280 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='cell.mu.html#L280'>new-array</a></span> _out: (addr handle <a href='cell.mu.html#L1'>cell</a>), capacity: int <span class="Delimiter">{</span> diff --git a/html/shell/environment.mu.html b/html/shell/environment.mu.html index 64fd8d17..4d3742cc 100644 --- a/html/shell/environment.mu.html +++ b/html/shell/environment.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/environment.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -31,7 +31,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -246,8 +246,8 @@ if ('onhashchange' in window) { <span id="L181" class="LineNr"> 181 </span> tmp <span class="Special"><-</span> address args <span id="L182" class="LineNr"> 182 </span> <a href='cell.mu.html#L142'>new-pair</a> tmp, <a href='main.mu.html#L4'>main</a>, *tmp <span id="L183" class="LineNr"> 183 </span> <span class="muComment"># clear real screen</span> -<span id="L184" class="LineNr"> 184 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <span class="Constant">0</span>/screen -<span id="L185" class="LineNr"> 185 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0</span>, <span class="Constant">0</span> +<span id="L184" class="LineNr"> 184 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <span class="Constant">0</span>/screen +<span id="L185" class="LineNr"> 185 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0</span>, <span class="Constant">0</span> <span id="L186" class="LineNr"> 186 </span> <span class="muComment"># run</span> <span id="L187" class="LineNr"> 187 </span> <span class="PreProc">var</span> out: (handle <a href='cell.mu.html#L1'>cell</a>) <span id="L188" class="LineNr"> 188 </span> <span class="PreProc">var</span> out-ah/<span class="muRegEcx">ecx</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> address out @@ -331,7 +331,7 @@ if ('onhashchange' in window) { <span id="L266" class="LineNr"> 266 </span> <span class="muComment"># turn global name into a stream</span> <span id="L267" class="LineNr"> 267 </span> <span class="PreProc">var</span> name-storage: (stream byte <span class="Constant">0x40</span>) <span id="L268" class="LineNr"> 268 </span> <span class="PreProc">var</span> name/<span class="muRegEcx">ecx</span>: (addr stream byte) <span class="Special"><-</span> address name-storage -<span id="L269" class="LineNr"> 269 </span> <a href='../514gap-buffer.mu.html#L83'>emit-gap-buffer</a> partial-global-name, name +<span id="L269" class="LineNr"> 269 </span> <a href='../514gap-buffer.mu.html#L82'>emit-gap-buffer</a> partial-global-name, name <span id="L270" class="LineNr"> 270 </span> <span class="muComment"># compute global index</span> <span id="L271" class="LineNr"> 271 </span> <span class="PreProc">var</span> curr-index/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='global.mu.html#L442'>find-symbol-in-globals</a> globals, name <span id="L272" class="LineNr"> 272 </span> <span class="muComment"># if global not found, set error and return</span> @@ -390,7 +390,7 @@ if ('onhashchange' in window) { <span id="L325" class="LineNr"> 325 </span> <span class="muComment"># turn global name into a stream</span> <span id="L326" class="LineNr"> 326 </span> <span class="PreProc">var</span> name-storage: (stream byte <span class="Constant">0x40</span>) <span id="L327" class="LineNr"> 327 </span> <span class="PreProc">var</span> name/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special"><-</span> address name-storage -<span id="L328" class="LineNr"> 328 </span> <a href='../514gap-buffer.mu.html#L83'>emit-gap-buffer</a> partial-global-name, name +<span id="L328" class="LineNr"> 328 </span> <a href='../514gap-buffer.mu.html#L82'>emit-gap-buffer</a> partial-global-name, name <span id="L329" class="LineNr"> 329 </span> <span class="muComment"># compute global curr-index</span> <span id="L330" class="LineNr"> 330 </span> <span class="PreProc">var</span> curr-index/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='global.mu.html#L442'>find-symbol-in-globals</a> globals, name <span id="L331" class="LineNr"> 331 </span> <span class="muComment"># if global found, set error and return</span> @@ -419,7 +419,7 @@ if ('onhashchange' in window) { <span id="L354" class="LineNr"> 354 </span> <span class="muComment"># otherwise process like a regular gap-buffer</span> <span id="L355" class="LineNr"> 355 </span> <span class="PreProc">var</span> partial-global-name-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get self, partial-global-name <span id="L356" class="LineNr"> 356 </span> <span class="PreProc">var</span> partial-global-name/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *partial-global-name-ah -<span id="L357" class="LineNr"> 357 </span> <a href='../514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> partial-global-name, key +<span id="L357" class="LineNr"> 357 </span> <a href='../514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> partial-global-name, key <span id="L358" class="LineNr"> 358 </span> <span class="PreProc">return</span> <span id="L359" class="LineNr"> 359 </span> <span class="Delimiter">}</span> <span id="L360" class="LineNr"> 360 </span> <span class="muComment"># ctrl-g: go to a global (or the repl)</span> @@ -433,7 +433,7 @@ if ('onhashchange' in window) { <span id="L368" class="LineNr"> 368 </span> <span class="PreProc">var</span> partial-global-name-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get self, partial-global-name <span id="L369" class="LineNr"> 369 </span> <span class="PreProc">var</span> partial-global-name/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *partial-global-name-ah <span id="L370" class="LineNr"> 370 </span> <a href='../514gap-buffer.mu.html#L19'>clear-gap-buffer</a> partial-global-name -<span id="L371" class="LineNr"> 371 </span> <a href='../514gap-buffer.mu.html#L68'>load-gap-buffer-from-stream</a> partial-global-name, current-word +<span id="L371" class="LineNr"> 371 </span> <a href='../514gap-buffer.mu.html#L67'>load-gap-buffer-from-stream</a> partial-global-name, current-word <span id="L372" class="LineNr"> 372 </span> <span class="muComment"># enable the modal</span> <span id="L373" class="LineNr"> 373 </span> <span class="PreProc">var</span> cursor-in-go-modal-a/eax: (addr boolean) <span class="Special"><-</span> get self, cursor-in-go-modal? <span id="L374" class="LineNr"> 374 </span> copy-to *cursor-in-go-modal-a, <span class="Constant">1</span>/true @@ -927,10 +927,10 @@ if ('onhashchange' in window) { <span id="L862" class="LineNr"> 862 </span> tmp <span class="Special"><-</span> add <span class="Constant">3</span> <span id="L863" class="LineNr"> 863 </span> copy-to ymax, tmp <span id="L864" class="LineNr"> 864 </span> <span class="muComment">#</span> -<span id="L865" class="LineNr"> 865 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin, xmax, ymax, <span class="Constant">0xf</span>/bg=modal +<span id="L865" class="LineNr"> 865 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin, xmax, ymax, <span class="Constant">0xf</span>/bg=modal <span id="L866" class="LineNr"> 866 </span> add-to xmin, <span class="Constant">4</span> -<span id="L867" class="LineNr"> 867 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin -<span id="L868" class="LineNr"> 868 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"go to <a href='global.mu.html#L8'>global</a> (or leave blank to go to REPL)"</span>, xmax, <span class="Constant">8</span>/fg=dark-grey, <span class="Constant">0xf</span>/bg=modal +<span id="L867" class="LineNr"> 867 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin +<span id="L868" class="LineNr"> 868 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"go to <a href='global.mu.html#L8'>global</a> (or leave blank to go to REPL)"</span>, xmax, <span class="Constant">8</span>/fg=dark-grey, <span class="Constant">0xf</span>/bg=modal <span id="L869" class="LineNr"> 869 </span> <span class="PreProc">var</span> partial-global-name-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get self, partial-global-name <span id="L870" class="LineNr"> 870 </span> <span class="PreProc">var</span> _partial-global-name/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *partial-global-name-ah <span id="L871" class="LineNr"> 871 </span> <span class="PreProc">var</span> partial-global-name/<span class="muRegEdx">edx</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> copy _partial-global-name @@ -941,12 +941,12 @@ if ('onhashchange' in window) { <span id="L876" class="LineNr"> 876 </span> <span class="PreProc">var</span> go-modal-error/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *go-modal-error-ah <span id="L877" class="LineNr"> 877 </span> compare go-modal-error, <span class="Constant">0</span> <span id="L878" class="LineNr"> 878 </span> <span class="PreProc">break-if-=</span> -<span id="L879" class="LineNr"> 879 </span> <span class="PreProc">var</span> dummy/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, go-modal-error, xmin, xmax, ymin, <span class="Constant">4</span>/fg=<span class="Special"><a href='trace.mu.html#L197'>error</a></span>, <span class="Constant">0xf</span>/bg=modal +<span id="L879" class="LineNr"> 879 </span> <span class="PreProc">var</span> dummy/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, go-modal-error, xmin, xmax, ymin, <span class="Constant">4</span>/fg=<span class="Special"><a href='trace.mu.html#L197'>error</a></span>, <span class="Constant">0xf</span>/bg=modal <span id="L880" class="LineNr"> 880 </span> <span class="Delimiter">}</span> <span id="L881" class="LineNr"> 881 </span> increment ymin <span id="L882" class="LineNr"> 882 </span> <span class="PreProc">var</span> dummy/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L883" class="LineNr"> 883 </span> <span class="PreProc">var</span> dummy2/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L884" class="LineNr"> 884 </span> dummy, dummy2 <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, partial-global-name, xmin, ymin, xmax, ymax, <span class="Constant">1</span>/always-render-cursor, <span class="Constant">0</span>/fg=black, <span class="Constant">0xf</span>/bg=modal +<span id="L884" class="LineNr"> 884 </span> dummy, dummy2 <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, partial-global-name, xmin, ymin, xmax, ymax, <span class="Constant">1</span>/always-render-cursor, <span class="Constant">0</span>/fg=black, <span class="Constant">0xf</span>/bg=modal <span id="L885" class="LineNr"> 885 </span><span class="Delimiter">}</span> <span id="L886" class="LineNr"> 886 </span> <span id="L887" class="LineNr"> 887 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L887'>render-go-modal-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='environment.mu.html#L8'>environment</a>) <span class="Delimiter">{</span> @@ -959,24 +959,24 @@ if ('onhashchange' in window) { <span id="L894" class="LineNr"> 894 </span> y <span class="Special"><-</span> decrement <span id="L895" class="LineNr"> 895 </span> <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy y <span id="L896" class="LineNr"> 896 </span> height <span class="Special"><-</span> increment -<span id="L897" class="LineNr"> 897 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L898" class="LineNr"> 898 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y -<span id="L899" class="LineNr"> 899 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L900" class="LineNr"> 900 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L901" class="LineNr"> 901 </span> <a href='../501draw-text.mu.html#L140'>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">0xc</span>/bg=menu-really-highlight -<span id="L902" class="LineNr"> 902 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L903" class="LineNr"> 903 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xc</span>/bg=menu-really-highlight -<span id="L904" class="LineNr"> 904 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" create "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L905" class="LineNr"> 905 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" esc "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L906" class="LineNr"> 906 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" cancel "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L907" class="LineNr"> 907 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^a "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L908" class="LineNr"> 908 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" << "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L909" class="LineNr"> 909 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^b "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L910" class="LineNr"> 910 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <word "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L911" class="LineNr"> 911 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^f "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L912" class="LineNr"> 912 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" word> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L913" class="LineNr"> 913 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^e "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L914" class="LineNr"> 914 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" >> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L897" class="LineNr"> 897 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L898" class="LineNr"> 898 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y +<span id="L899" class="LineNr"> 899 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L900" class="LineNr"> 900 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L901" class="LineNr"> 901 </span> <a href='../501draw-text.mu.html#L147'>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">0xc</span>/bg=menu-really-highlight +<span id="L902" class="LineNr"> 902 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L903" class="LineNr"> 903 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0xc</span>/bg=menu-really-highlight +<span id="L904" class="LineNr"> 904 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" create "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L905" class="LineNr"> 905 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" esc "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L906" class="LineNr"> 906 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" cancel "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L907" class="LineNr"> 907 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^a "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L908" class="LineNr"> 908 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" << "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L909" class="LineNr"> 909 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^b "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L910" class="LineNr"> 910 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <word "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L911" class="LineNr"> 911 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^f "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L912" class="LineNr"> 912 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" word> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L913" class="LineNr"> 913 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^e "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L914" class="LineNr"> 914 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" >> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L915" class="LineNr"> 915 </span><span class="Delimiter">}</span> <span id="L916" class="LineNr"> 916 </span> <span id="L917" class="LineNr"> 917 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='environment.mu.html#L917'>word-at-cursor</a></span> _self: (addr <a href='environment.mu.html#L8'>environment</a>), out: (addr stream byte) <span class="Delimiter">{</span> @@ -1001,14 +1001,14 @@ if ('onhashchange' in window) { <span id="L936" class="LineNr"> 936 </span> <span class="PreProc">var</span> curr-global/eax: (addr <a href='global.mu.html#L8'>global</a>) <span class="Special"><-</span> index globals-data, cursor-offset <span id="L937" class="LineNr"> 937 </span> <span class="PreProc">var</span> curr-global-data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get curr-global, input <span id="L938" class="LineNr"> 938 </span> <span class="PreProc">var</span> curr-global-data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-global-data-ah -<span id="L939" class="LineNr"> 939 </span> <a href='../514gap-buffer.mu.html#L133'>word-at-gap</a> curr-global-data, out +<span id="L939" class="LineNr"> 939 </span> <a href='../514gap-buffer.mu.html#L132'>word-at-gap</a> curr-global-data, out <span id="L940" class="LineNr"> 940 </span> <span class="PreProc">return</span> <span id="L941" class="LineNr"> 941 </span> <span class="Delimiter">}</span> <span id="L942" class="LineNr"> 942 </span> <span class="muComment"># cursor in sandbox</span> <span id="L943" class="LineNr"> 943 </span> <span class="PreProc">var</span> <a href='sandbox.mu.html#L1'>sandbox</a>/<span class="muRegEcx">ecx</span>: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Special"><-</span> get self, <a href='sandbox.mu.html#L1'>sandbox</a> <span id="L944" class="LineNr"> 944 </span> <span class="PreProc">var</span> sandbox-data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get <a href='sandbox.mu.html#L1'>sandbox</a>, data <span id="L945" class="LineNr"> 945 </span> <span class="PreProc">var</span> sandbox-data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *sandbox-data-ah -<span id="L946" class="LineNr"> 946 </span> <a href='../514gap-buffer.mu.html#L133'>word-at-gap</a> sandbox-data, out +<span id="L946" class="LineNr"> 946 </span> <a href='../514gap-buffer.mu.html#L132'>word-at-gap</a> sandbox-data, out <span id="L947" class="LineNr"> 947 </span><span class="Delimiter">}</span> <span id="L948" class="LineNr"> 948 </span> <span id="L949" class="LineNr"> 949 </span><span class="muComment"># Gotcha: some saved state may not load.</span> @@ -1017,18 +1017,18 @@ if ('onhashchange' in window) { <span id="L952" class="LineNr"> 952 </span> <span class="muComment"># data-disk -> stream</span> <span id="L953" class="LineNr"> 953 </span> <span class="PreProc">var</span> s-storage: (stream byte <span class="Constant">0x40000</span>) <span class="muComment"># space for 0x200/sectors</span> <span id="L954" class="LineNr"> 954 </span> <span class="PreProc">var</span> s/<span class="muRegEbx">ebx</span>: (addr stream byte) <span class="Special"><-</span> address s-storage -<span id="L955" class="LineNr"> 955 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"loading sectors from data disk"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg +<span id="L955" class="LineNr"> 955 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"loading sectors from data disk"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L956" class="LineNr"> 956 </span> <a href='../501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen <span id="L957" class="LineNr"> 957 </span> <a href='../510disk.mu.html#L1'>load-sectors</a> data-disk, <span class="Constant">0</span>/lba, <span class="Constant">0x200</span>/sectors, s <span id="L958" class="LineNr"> 958 </span><span class="CommentedCode">#? draw-stream-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, s, 7/fg, 0xc5/bg=blue-bg</span> <span id="L959" class="LineNr"> 959 </span> <span class="muComment"># stream -> gap-buffer (HACK: we temporarily cannibalize the sandbox's gap-buffer)</span> -<span id="L960" class="LineNr"> 960 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"parsing"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg +<span id="L960" class="LineNr"> 960 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"parsing"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L961" class="LineNr"> 961 </span> <a href='../501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen <span id="L962" class="LineNr"> 962 </span> <span class="PreProc">var</span> <a href='sandbox.mu.html#L1'>sandbox</a>/eax: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Special"><-</span> get self, <a href='sandbox.mu.html#L1'>sandbox</a> <span id="L963" class="LineNr"> 963 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get <a href='sandbox.mu.html#L1'>sandbox</a>, data <span id="L964" class="LineNr"> 964 </span> <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah -<span id="L965" class="LineNr"> 965 </span> <a href='../514gap-buffer.mu.html#L68'>load-gap-buffer-from-stream</a> data, s -<span id="L966" class="LineNr"> 966 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" into gap buffer"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg +<span id="L965" class="LineNr"> 965 </span> <a href='../514gap-buffer.mu.html#L67'>load-gap-buffer-from-stream</a> data, s +<span id="L966" class="LineNr"> 966 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" into gap buffer"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L967" class="LineNr"> 967 </span> <a href='../501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen <span id="L968" class="LineNr"> 968 </span> <a href='../106stream.subx.html#L20'>clear-stream</a> s <span id="L969" class="LineNr"> 969 </span> <span class="muComment"># read: gap-buffer -> cell</span> @@ -1038,7 +1038,7 @@ if ('onhashchange' in window) { <span id="L973" class="LineNr"> 973 </span> <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr trace) <span class="Special"><-</span> address trace-storage <span id="L974" class="LineNr"> 974 </span> <a href='trace.mu.html#L61'>initialize-trace</a> trace, <span class="Constant">1</span>/only-errors, <span class="Constant">0x10</span>/capacity, <span class="Constant">0</span>/visible <span id="L975" class="LineNr"> 975 </span> <a href='read.mu.html#L1'>read-cell</a> data, initial-root, trace -<span id="L976" class="LineNr"> 976 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" into s-expressions"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg +<span id="L976" class="LineNr"> 976 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" into s-expressions"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L977" class="LineNr"> 977 </span> <a href='../501draw-text.mu.html#L65'>move-cursor-to-left-margin-of-next-line</a> <span class="Constant">0</span>/screen <span id="L978" class="LineNr"> 978 </span> <a href='../514gap-buffer.mu.html#L19'>clear-gap-buffer</a> data <span id="L979" class="LineNr"> 979 </span> <span class="muComment">#</span> @@ -1065,7 +1065,7 @@ if ('onhashchange' in window) { <span id="L1000" class="LineNr">1000 </span> <a href='global.mu.html#L30'>load-globals</a> globals-cell-ah, globals <span id="L1001" class="LineNr">1001 </span> <span class="Delimiter">}</span> <span id="L1002" class="LineNr">1002 </span> <span class="muComment"># sandbox = assoc(initial-root, 'sandbox)</span> -<span id="L1003" class="LineNr">1003 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"loading sandbox"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg +<span id="L1003" class="LineNr">1003 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"loading sandbox"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L1004" class="LineNr">1004 </span> <span class="PreProc">var</span> sandbox-literal-storage: (handle <a href='cell.mu.html#L1'>cell</a>) <span id="L1005" class="LineNr">1005 </span> <span class="PreProc">var</span> sandbox-literal-ah/eax: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> address sandbox-literal-storage <span id="L1006" class="LineNr">1006 </span> <a href='cell.mu.html#L43'>new-symbol</a> sandbox-literal-ah, <span class="Constant">"sandbox"</span> @@ -1085,7 +1085,7 @@ if ('onhashchange' in window) { <span id="L1020" class="LineNr">1020 </span> <span class="PreProc">var</span> <a href='sandbox.mu.html#L1'>sandbox</a>/eax: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Special"><-</span> get self, <a href='sandbox.mu.html#L1'>sandbox</a> <span id="L1021" class="LineNr">1021 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get <a href='sandbox.mu.html#L1'>sandbox</a>, data <span id="L1022" class="LineNr">1022 </span> <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah -<span id="L1023" class="LineNr">1023 </span> <a href='../514gap-buffer.mu.html#L68'>load-gap-buffer-from-stream</a> data, sandbox-data +<span id="L1023" class="LineNr">1023 </span> <a href='../514gap-buffer.mu.html#L67'>load-gap-buffer-from-stream</a> data, sandbox-data <span id="L1024" class="LineNr">1024 </span> <span class="Delimiter">}</span> <span id="L1025" class="LineNr">1025 </span><span class="Delimiter">}</span> <span id="L1026" class="LineNr">1026 </span> diff --git a/html/shell/evaluate.mu.html b/html/shell/evaluate.mu.html index 9e8da3c1..898593d0 100644 --- a/html/shell/evaluate.mu.html +++ b/html/shell/evaluate.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/evaluate.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -32,7 +32,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -83,9 +83,9 @@ if ('onhashchange' in window) { <span id="L17" class="LineNr"> 17 </span> <span class="PreProc">break-if-!=</span> <span id="L18" class="LineNr"> 18 </span> <span class="PreProc">var</span> old-x/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L19" class="LineNr"> 19 </span> <span class="PreProc">var</span> old-y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L20" class="LineNr"> 20 </span> old-x, old-y <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L230'>cursor-position</a> <span class="Constant">0</span>/screen +<span id="L20" class="LineNr"> 20 </span> old-x, old-y <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L251'>cursor-position</a> <span class="Constant">0</span>/screen <span id="L21" class="LineNr"> 21 </span> <a href='../315stack-debug.subx.html#L26'>show-stack-state</a> -<span id="L22" class="LineNr"> 22 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, old-x, old-y +<span id="L22" class="LineNr"> 22 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, old-x, old-y <span id="L23" class="LineNr"> 23 </span> <span class="Delimiter">}</span> <span id="L24" class="LineNr"> 24 </span> <span class="muComment"># show intermediate progress on screen if necessary</span> <span id="L25" class="LineNr"> 25 </span> <span class="muComment"># treat input at the real keyboard as interrupting</span> @@ -128,7 +128,7 @@ if ('onhashchange' in window) { <span id="L62" class="LineNr"> 62 </span><span class="CommentedCode">#? compare foo, 0</span> <span id="L63" class="LineNr"> 63 </span><span class="CommentedCode">#? loop-if-=</span> <span id="L64" class="LineNr"> 64 </span><span class="CommentedCode">#? }</span> -<span id="L65" class="Folded"> 65 </span><span class="Folded">+-- 19 lines: # trace "evaluate " in " in environment " env ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L65" class="Folded"> 65 </span><span class="Folded">+-- 19 lines: # trace "evaluate " in " in environment " env -----------------------------------------------------------------------------------------------------------------------------</span> <span id="L84" class="LineNr"> 84 </span> <a href='trace.mu.html#L239'>trace-lower</a> trace <span id="L85" class="LineNr"> 85 </span> <span class="PreProc">var</span> in/eax: (addr <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *in-ah <span id="L86" class="LineNr"> 86 </span> <span class="Delimiter">{</span> @@ -652,7 +652,7 @@ if ('onhashchange' in window) { <span id="L604" class="LineNr"> 604 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace <span id="L605" class="LineNr"> 605 </span> <span class="PreProc">return</span> <span id="L606" class="LineNr"> 606 </span> <span class="Delimiter">}</span> -<span id="L607" class="Folded"> 607 </span><span class="Folded">+-- 15 lines: # trace "evaluate function call elements in " in ------------------------------------------------------------------------------------------------------------------------</span> +<span id="L607" class="Folded"> 607 </span><span class="Folded">+-- 15 lines: # trace "evaluate function call elements in " in --------------------------------------------------------------------------------------------------------------------------</span> <span id="L622" class="LineNr"> 622 </span> <a href='trace.mu.html#L239'>trace-lower</a> trace <span id="L623" class="LineNr"> 623 </span> <span class="PreProc">var</span> evaluated-list-storage: (handle <a href='cell.mu.html#L1'>cell</a>) <span id="L624" class="LineNr"> 624 </span> <span class="PreProc">var</span> evaluated-list-ah/<span class="muRegEsi">esi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> address evaluated-list-storage @@ -694,7 +694,7 @@ if ('onhashchange' in window) { <span id="L660" class="LineNr"> 660 </span> <a href='evaluate.mu.html#L681'>apply</a> function-ah, args-ah, _out-ah, globals, trace, inner-screen-var, inner-keyboard-var, definitions-created, call-number <span id="L661" class="LineNr"> 661 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"Y"</span>, <span class="Constant">4</span>/fg, <span class="Constant">0</span>/bg <span id="L662" class="LineNr"> 662 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L663" class="Folded"> 663 </span><span class="Folded">+-- 15 lines: # trace "=> " _out-ah ---------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L663" class="Folded"> 663 </span><span class="Folded">+-- 15 lines: # trace "=> " _out-ah -----------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L678" class="LineNr"> 678 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"Z"</span>, <span class="Constant">4</span>/fg, <span class="Constant">0</span>/bg <span id="L679" class="LineNr"> 679 </span><span class="Delimiter">}</span> <span id="L680" class="LineNr"> 680 </span> @@ -711,7 +711,7 @@ if ('onhashchange' in window) { <span id="L691" class="LineNr"> 691 </span> <span class="PreProc">return</span> <span id="L692" class="LineNr"> 692 </span> <span class="Delimiter">}</span> <span id="L693" class="LineNr"> 693 </span> <span class="muComment"># if it's not a primitive function it must be an anonymous function</span> -<span id="L694" class="Folded"> 694 </span><span class="Folded">+-- 19 lines: # trace "apply anonymous function " f " in environment " env ------------------------------------------------------------------------------------------------------------</span> +<span id="L694" class="Folded"> 694 </span><span class="Folded">+-- 19 lines: # trace "apply anonymous function " f " in environment " env --------------------------------------------------------------------------------------------------------------</span> <span id="L713" class="LineNr"> 713 </span> <a href='trace.mu.html#L239'>trace-lower</a> trace <span id="L714" class="LineNr"> 714 </span> <span class="Delimiter">{</span> <span id="L715" class="LineNr"> 715 </span> <span class="PreProc">var</span> f-type/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special"><-</span> get f, <span class="PreProc">type</span> @@ -812,7 +812,7 @@ if ('onhashchange' in window) { <span id="L810" class="LineNr"> 810 </span> <span class="PreProc">return</span> <span id="L811" class="LineNr"> 811 </span> <span class="Delimiter">}</span> <span id="L812" class="LineNr"> 812 </span> <span class="muComment"># Params can only be symbols or pairs. Args can be anything.</span> -<span id="L813" class="Folded"> 813 </span><span class="Folded">+-- 28 lines: # trace "pushing bindings from " params " to " args ---------------------------------------------------------------------------------------------------------------------</span> +<span id="L813" class="Folded"> 813 </span><span class="Folded">+-- 28 lines: # trace "pushing bindings from " params " to " args -----------------------------------------------------------------------------------------------------------------------</span> <span id="L841" class="LineNr"> 841 </span> <a href='trace.mu.html#L239'>trace-lower</a> trace <span id="L842" class="LineNr"> 842 </span> <span class="PreProc">var</span> params-type/eax: (addr int) <span class="Special"><-</span> get params, <span class="PreProc">type</span> <span id="L843" class="LineNr"> 843 </span> compare *params-type, <span class="Constant">2</span>/symbol @@ -919,7 +919,7 @@ if ('onhashchange' in window) { <span id="L944" class="LineNr"> 944 </span> <a href='global.mu.html#L369'>lookup-symbol-in-globals</a> sym, out, globals, trace, inner-screen-var, inner-keyboard-var <span id="L945" class="LineNr"> 945 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"x"</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg <span id="L946" class="LineNr"> 946 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L947" class="Folded"> 947 </span><span class="Folded">+-- 23 lines: # trace "=> " out " (global)" -------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L947" class="Folded"> 947 </span><span class="Folded">+-- 23 lines: # trace "=> " out " (global)" ---------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L970" class="LineNr"> 970 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"y"</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg <span id="L971" class="LineNr"> 971 </span> <span class="PreProc">return</span> <span id="L972" class="LineNr"> 972 </span> <span class="Delimiter">}</span> @@ -958,7 +958,7 @@ if ('onhashchange' in window) { <span id="L1005" class="LineNr">1005 </span> <span class="Delimiter">{</span> <span id="L1006" class="LineNr">1006 </span> <span class="PreProc">break-if-=</span> <span id="L1007" class="LineNr">1007 </span> <a href='evaluate.mu.html#L1265'>cdr</a> env-head, out, trace -<span id="L1008" class="Folded">1008 </span><span class="Folded">+-- 23 lines: # trace "=> " out " (match)" --------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1008" class="Folded">1008 </span><span class="Folded">+-- 23 lines: # trace "=> " out " (match)" ----------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1031" class="LineNr">1031 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace <span id="L1032" class="LineNr">1032 </span> <span class="PreProc">return</span> <span id="L1033" class="LineNr">1033 </span> <span class="Delimiter">}</span> @@ -968,7 +968,7 @@ if ('onhashchange' in window) { <span id="L1037" class="LineNr">1037 </span> <a href='evaluate.mu.html#L1265'>cdr</a> env, env-tail-ah, trace <span id="L1038" class="LineNr">1038 </span> <a href='evaluate.mu.html#L900'>lookup-symbol</a> sym, out, *env-tail-ah, globals, trace, inner-screen-var, inner-keyboard-var <span id="L1039" class="LineNr">1039 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L1040" class="Folded">1040 </span><span class="Folded">+-- 23 lines: # trace "=> " out " (recurse)" ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1040" class="Folded">1040 </span><span class="Folded">+-- 23 lines: # trace "=> " out " (recurse)" --------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1063" class="LineNr">1063 </span><span class="Delimiter">}</span> <span id="L1064" class="LineNr">1064 </span> <span id="L1065" class="LineNr">1065 </span><span class="PreProc">fn</span> <span class="muTest"><a href='evaluate.mu.html#L1065'>test-lookup-symbol-in-env</a></span> <span class="Delimiter">{</span> @@ -1071,7 +1071,7 @@ if ('onhashchange' in window) { <span id="L1162" class="LineNr">1162 </span> <a href='global.mu.html#L504'>mutate-binding-in-globals</a> name, val, globals, trace <span id="L1163" class="LineNr">1163 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"x"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L1164" class="LineNr">1164 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L1165" class="Folded">1165 </span><span class="Folded">+-- 19 lines: # trace "=> " val " (global)" -------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1165" class="Folded">1165 </span><span class="Folded">+-- 19 lines: # trace "=> " val " (global)" ---------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1184" class="LineNr">1184 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"y"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L1185" class="LineNr">1185 </span> <span class="PreProc">return</span> <span id="L1186" class="LineNr">1186 </span> <span class="Delimiter">}</span> @@ -1310,7 +1310,7 @@ if ('onhashchange' in window) { <span id="L1419" class="LineNr">1419 </span> <span class="PreProc">var</span> a-val/<span class="muRegEcx">ecx</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> copy _a-val <span id="L1420" class="LineNr">1420 </span> <span class="PreProc">var</span> b-val-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get b, keyboard-data <span id="L1421" class="LineNr">1421 </span> <span class="PreProc">var</span> b-val/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *b-val-ah -<span id="L1422" class="LineNr">1422 </span> <span class="PreProc">var</span> result/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L664'>gap-buffers-equal?</a> a-val, b-val +<span id="L1422" class="LineNr">1422 </span> <span class="PreProc">var</span> result/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L663'>gap-buffers-equal?</a> a-val, b-val <span id="L1423" class="LineNr">1423 </span> <span class="PreProc">return</span> result <span id="L1424" class="LineNr">1424 </span> <span class="Delimiter">}</span> <span id="L1425" class="LineNr">1425 </span> <span class="muComment"># if objects are arrays, check if they have the same contents</span> diff --git a/html/shell/global.mu.html b/html/shell/global.mu.html index 30f5ce0c..71d3db10 100644 --- a/html/shell/global.mu.html +++ b/html/shell/global.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/global.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -29,7 +29,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -91,7 +91,7 @@ if ('onhashchange' in window) { <span id="L28" class="LineNr"> 28 </span><span class="Delimiter">}</span> <span id="L29" class="LineNr"> 29 </span> <span id="L30" class="LineNr"> 30 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L30'>load-globals</a></span> in: (addr handle <a href='cell.mu.html#L1'>cell</a>), self: (addr <a href='global.mu.html#L1'>global-table</a>) <span class="Delimiter">{</span> -<span id="L31" class="LineNr"> 31 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"loading globals:"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg +<span id="L31" class="LineNr"> 31 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"loading globals:"</span>, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L32" class="LineNr"> 32 </span> <span class="PreProc">var</span> remaining-ah/<span class="muRegEsi">esi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> copy in <span id="L33" class="LineNr"> 33 </span> <span class="Delimiter">{</span> <span id="L34" class="LineNr"> 34 </span> <span class="PreProc">var</span> _remaining/eax: (addr <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *remaining-ah @@ -109,8 +109,8 @@ if ('onhashchange' in window) { <span id="L46" class="LineNr"> 46 </span> <span class="PreProc">var</span> _name-data/eax: (addr stream byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *name-data-ah <span id="L47" class="LineNr"> 47 </span> <span class="PreProc">var</span> name-data/<span class="muRegEdx">edx</span>: (addr stream byte) <span class="Special"><-</span> copy _name-data <span id="L48" class="LineNr"> 48 </span> <a href='../106stream.subx.html#L59'>rewind-stream</a> name-data -<span id="L49" class="LineNr"> 49 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" "</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg -<span id="L50" class="LineNr"> 50 </span> <a href='../501draw-text.mu.html#L240'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, name-data, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg +<span id="L49" class="LineNr"> 49 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" "</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg +<span id="L50" class="LineNr"> 50 </span> <a href='../501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, name-data, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L51" class="LineNr"> 51 </span> <span class="PreProc">var</span> value-ah/eax: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> get curr, right <span id="L52" class="LineNr"> 52 </span> <span class="PreProc">var</span> value/eax: (addr <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *value-ah <span id="L53" class="LineNr"> 53 </span> <span class="PreProc">var</span> value-data-ah/eax: (addr handle stream byte) <span class="Special"><-</span> get value, text-data @@ -121,7 +121,7 @@ if ('onhashchange' in window) { <span id="L58" class="LineNr"> 58 </span> <a href='../120allocate.subx.html#L43'>allocate</a> value-gap-buffer-ah <span id="L59" class="LineNr"> 59 </span> <span class="PreProc">var</span> value-gap-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *value-gap-buffer-ah <span id="L60" class="LineNr"> 60 </span> <a href='../514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> value-gap-buffer, <span class="Constant">0x40000</span>/256KB -<span id="L61" class="LineNr"> 61 </span> <a href='../514gap-buffer.mu.html#L68'>load-gap-buffer-from-stream</a> value-gap-buffer, value-data +<span id="L61" class="LineNr"> 61 </span> <a href='../514gap-buffer.mu.html#L67'>load-gap-buffer-from-stream</a> value-gap-buffer, value-data <span id="L62" class="LineNr"> 62 </span> <a href='global.mu.html#L558'>load-lexical-scope</a> value-gap-buffer-ah, self <span id="L63" class="LineNr"> 63 </span> <span class="PreProc">loop</span> <span id="L64" class="LineNr"> 64 </span> <span class="Delimiter">}</span> @@ -168,7 +168,7 @@ if ('onhashchange' in window) { <span id="L105" class="LineNr">105 </span> <span class="PreProc">break-if-!=</span> <span id="L106" class="LineNr">106 </span> <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">"null gap buffer"</span> <span id="L107" class="LineNr">107 </span> <span class="Delimiter">}</span> -<span id="L108" class="LineNr">108 </span> <a href='../514gap-buffer.mu.html#L88'>append-gap-buffer</a> curr-input, out +<span id="L108" class="LineNr">108 </span> <a href='../514gap-buffer.mu.html#L87'>append-gap-buffer</a> curr-input, out <span id="L109" class="LineNr">109 </span> <a href='../108write.subx.html#L11'>write</a> out, <span class="Constant">"])\n"</span> <span id="L110" class="LineNr">110 </span> <span class="Delimiter">}</span> <span id="L111" class="LineNr">111 </span> curr-index <span class="Special"><-</span> increment @@ -179,7 +179,7 @@ if ('onhashchange' in window) { <span id="L116" class="LineNr">116 </span> <span id="L117" class="LineNr">117 </span><span class="muComment"># globals layout: 1 char padding, 41 code, 1 padding, 41 code, 1 padding = 85 chars</span> <span id="L118" class="LineNr">118 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L118'>render-globals</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='global.mu.html#L1'>global-table</a>), show-cursor?: boolean <span class="Delimiter">{</span> -<span id="L119" class="LineNr">119 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x55</span>/xmax, <span class="Constant">0x2f</span>/ymax=screen-height-without-menu, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L119" class="LineNr">119 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x55</span>/xmax, <span class="Constant">0x2f</span>/ymax=screen-height-without-menu, <span class="Constant">0xdc</span>/bg=green-bg <span id="L120" class="LineNr">120 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='global.mu.html#L1'>global-table</a>) <span class="Special"><-</span> copy _self <span id="L121" class="LineNr">121 </span> compare self, <span class="Constant">0</span> <span id="L122" class="LineNr">122 </span> <span class="Delimiter">{</span> @@ -245,14 +245,14 @@ if ('onhashchange' in window) { <span id="L182" class="LineNr">182 </span> compare y, y2 <span id="L183" class="LineNr">183 </span> <span class="Delimiter">{</span> <span id="L184" class="LineNr">184 </span> <span class="PreProc">break-if->=</span> -<span id="L185" class="LineNr">185 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">1</span>/padding-left, y1, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L185" class="LineNr">185 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">1</span>/padding-left, y1, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L186" class="LineNr">186 </span> y <span class="Special"><-</span> increment <span id="L187" class="LineNr">187 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-trace, <span class="Constant">1</span>/padding-left, y, <span class="Constant">0x2a</span>/xmax, <span class="Constant">0x2f</span>/ymax, <span class="Constant">0</span>/no-cursor <span id="L188" class="LineNr">188 </span> y <span class="Special"><-</span> increment <span id="L189" class="LineNr">189 </span> copy-to y1, y <span id="L190" class="LineNr">190 </span> <span class="PreProc">break</span> $render-globals:render-global <span id="L191" class="LineNr">191 </span> <span class="Delimiter">}</span> -<span id="L192" class="LineNr">192 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">0x2b</span>/xmin, y2, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L192" class="LineNr">192 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-input, <span class="Constant">0x2b</span>/xmin, y2, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, cursor-in-current-line?, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L193" class="LineNr">193 </span> y <span class="Special"><-</span> increment <span id="L194" class="LineNr">194 </span> y <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, curr-trace, <span class="Constant">0x2b</span>/xmin, y, <span class="Constant">0x54</span>/xmax, <span class="Constant">0x2f</span>/ymax, <span class="Constant">0</span>/no-cursor <span id="L195" class="LineNr">195 </span> y <span class="Special"><-</span> increment @@ -275,22 +275,22 @@ if ('onhashchange' in window) { <span id="L212" class="LineNr">212 </span> y <span class="Special"><-</span> decrement <span id="L213" class="LineNr">213 </span> <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy y <span id="L214" class="LineNr">214 </span> height <span class="Special"><-</span> increment -<span id="L215" class="LineNr">215 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L216" class="LineNr">216 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y -<span id="L217" class="LineNr">217 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L218" class="LineNr">218 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L219" class="LineNr">219 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L220" class="LineNr">220 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L221" class="LineNr">221 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L222" class="LineNr">222 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L223" class="LineNr">223 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^a "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L224" class="LineNr">224 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" << "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L225" class="LineNr">225 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^b "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L226" class="LineNr">226 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <word "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L227" class="LineNr">227 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^f "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L228" class="LineNr">228 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" word> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L229" class="LineNr">229 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^e "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L230" class="LineNr">230 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" >> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L215" class="LineNr">215 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L216" class="LineNr">216 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y +<span id="L217" class="LineNr">217 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L218" class="LineNr">218 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L219" class="LineNr">219 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L220" class="LineNr">220 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L221" class="LineNr">221 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L222" class="LineNr">222 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L223" class="LineNr">223 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^a "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L224" class="LineNr">224 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" << "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L225" class="LineNr">225 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^b "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L226" class="LineNr">226 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <word "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L227" class="LineNr">227 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^f "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L228" class="LineNr">228 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" word> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L229" class="LineNr">229 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^e "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L230" class="LineNr">230 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" >> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L231" class="LineNr">231 </span><span class="Delimiter">}</span> <span id="L232" class="LineNr">232 </span> <span id="L233" class="LineNr">233 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L233'>edit-globals</a></span> _self: (addr <a href='global.mu.html#L1'>global-table</a>), key: grapheme <span class="Delimiter">{</span> @@ -315,7 +315,7 @@ if ('onhashchange' in window) { <span id="L252" class="LineNr">252 </span> <span class="PreProc">var</span> curr-global/eax: (addr <a href='global.mu.html#L8'>global</a>) <span class="Special"><-</span> index data, cursor-offset <span id="L253" class="LineNr">253 </span> <span class="PreProc">var</span> curr-editor-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get curr-global, input <span id="L254" class="LineNr">254 </span> <span class="PreProc">var</span> curr-editor/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *curr-editor-ah -<span id="L255" class="LineNr">255 </span> <a href='../514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> curr-editor, key +<span id="L255" class="LineNr">255 </span> <a href='../514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> curr-editor, key <span id="L256" class="LineNr">256 </span><span class="Delimiter">}</span> <span id="L257" class="LineNr">257 </span> <span id="L258" class="LineNr">258 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L258'>create-empty-global</a></span> _self: (addr <a href='global.mu.html#L1'>global-table</a>), name-stream: (addr stream byte), capacity: int <span class="Delimiter">{</span> @@ -683,14 +683,14 @@ if ('onhashchange' in window) { <span id="L620" class="LineNr">620 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='global.mu.html#L620'>render-image-definition</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='global.mu.html#L8'>global</a>), x: int, _y: int<span class="PreProc"> -> </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span> <span id="L621" class="LineNr">621 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='global.mu.html#L8'>global</a>) <span class="Special"><-</span> copy _self <span id="L622" class="LineNr">622 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy _y -<span id="L623" class="LineNr">623 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span> <span class="Constant">0x20</span> -<span id="L624" class="LineNr">624 </span> <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg +<span id="L623" class="LineNr">623 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x20</span> <span class="Constant">0x20</span> +<span id="L624" class="LineNr">624 </span> <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, y, <span class="Constant">4</span>/fg <span class="Constant">0</span>/bg <span id="L625" class="LineNr">625 </span> <span class="Delimiter">{</span> <span id="L626" class="LineNr">626 </span> <span class="PreProc">var</span> name-ah/eax: (addr handle array byte) <span class="Special"><-</span> get self, name <span id="L627" class="LineNr">627 </span> <span class="PreProc">var</span> _name/eax: (addr array byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *name-ah <span id="L628" class="LineNr">628 </span> <span class="PreProc">var</span> name/<span class="muRegEdx">edx</span>: (addr array byte) <span class="Special"><-</span> copy _name -<span id="L629" class="LineNr">629 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L132'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"define "</span>, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L630" class="LineNr">630 </span> x <span class="Special"><-</span> <a href='../501draw-text.mu.html#L132'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, name, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L629" class="LineNr">629 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L139'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"define "</span>, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L630" class="LineNr">630 </span> x <span class="Special"><-</span> <a href='../501draw-text.mu.html#L139'>draw-text-rightward-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, name, x y, <span class="Constant">7</span>/fg=definition, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L631" class="LineNr">631 </span> <span class="Delimiter">}</span> <span id="L632" class="LineNr">632 </span> y <span class="Special"><-</span> increment <span class="muComment"># skip definition line</span> <span id="L633" class="LineNr">633 </span> <span class="muComment"># y is now in pixels</span> diff --git a/html/shell/infix.mu.html b/html/shell/infix.mu.html index 0054d59a..a38807a2 100644 --- a/html/shell/infix.mu.html +++ b/html/shell/infix.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/infix.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -32,7 +32,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -80,7 +80,7 @@ if ('onhashchange' in window) { <span id="L14" class="LineNr"> 14 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='infix.mu.html#L14'>transform-infix-2</a></span> _x-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), trace: (addr trace), at-head-of-list?: boolean <span class="Delimiter">{</span> <span id="L15" class="LineNr"> 15 </span> <span class="PreProc">var</span> x-ah/<span class="muRegEdi">edi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> copy _x-ah <span id="L16" class="LineNr"> 16 </span> <span class="PreProc">var</span> x/eax: (addr <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *x-ah -<span id="L17" class="Folded"> 17 </span><span class="Folded">+-- 14 lines: # trace x-ah ------------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L17" class="Folded"> 17 </span><span class="Folded">+-- 14 lines: # trace x-ah --------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L31" class="LineNr"> 31 </span> <a href='trace.mu.html#L239'>trace-lower</a> trace <span id="L32" class="LineNr"> 32 </span><span class="CommentedCode">#? {</span> <span id="L33" class="LineNr"> 33 </span><span class="CommentedCode">#? var foo/eax: int <- copy x</span> @@ -118,7 +118,7 @@ if ('onhashchange' in window) { <span id="L65" class="LineNr"> 65 </span> compare *x-type, <span class="Constant">0</span>/pair <span id="L66" class="LineNr"> 66 </span> <span class="PreProc">break-if-=</span> <span id="L67" class="LineNr"> 67 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L68" class="Folded"> 68 </span><span class="Folded">+-- 15 lines: # trace "=> " x-ah ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L68" class="Folded"> 68 </span><span class="Folded">+-- 15 lines: # trace "=> " x-ah --------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L83" class="LineNr"> 83 </span><span class="CommentedCode">#? draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "^", 4/fg 0/bg</span> <span id="L84" class="LineNr"> 84 </span> <span class="PreProc">return</span> <span id="L85" class="LineNr"> 85 </span> <span class="Delimiter">}</span> @@ -139,7 +139,7 @@ if ('onhashchange' in window) { <span id="L100" class="LineNr">100 </span> <span class="PreProc">break-if-=</span> <span id="L101" class="LineNr">101 </span> copy-object first-ah, x-ah <span id="L102" class="LineNr">102 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L103" class="Folded">103 </span><span class="Folded">+-- 15 lines: # trace "=> " x-ah ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L103" class="Folded">103 </span><span class="Folded">+-- 15 lines: # trace "=> " x-ah --------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L118" class="LineNr">118 </span> <span class="PreProc">return</span> <span id="L119" class="LineNr">119 </span> <span class="Delimiter">}</span> <span id="L120" class="LineNr">120 </span><span class="CommentedCode">#? draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "c", 4/fg 0/bg</span> @@ -278,7 +278,7 @@ if ('onhashchange' in window) { <span id="L253" class="LineNr">253 </span> <a href='infix.mu.html#L14'>transform-infix-2</a> right-ah, trace, right-at-head-of-list? <span id="L254" class="LineNr">254 </span><span class="CommentedCode">#? draw-text-wrapping-right-then-down-from-cursor-over-full-screen 0/screen, "z", 1/fg 0/bg</span> <span id="L255" class="LineNr">255 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L256" class="Folded">256 </span><span class="Folded">+-- 15 lines: # trace "=> " x-ah ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L256" class="Folded">256 </span><span class="Folded">+-- 15 lines: # trace "=> " x-ah --------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L271" class="LineNr">271 </span><span class="Delimiter">}</span> <span id="L272" class="LineNr">272 </span> <span id="L273" class="LineNr">273 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='infix.mu.html#L273'>not-null-not-nil-pair?</a></span> _x: (addr <a href='cell.mu.html#L1'>cell</a>)<span class="PreProc"> -> </span>_/eax: boolean <span class="Delimiter">{</span> @@ -324,7 +324,7 @@ if ('onhashchange' in window) { <span id="L313" class="LineNr">313 </span> <a href='../514gap-buffer.mu.html#L11'>initialize-gap-buffer</a> buffer, <span class="Constant">0x40</span>/max-symbol-size <span id="L314" class="LineNr">314 </span> <span class="muComment"># scan for first non-$</span> <span id="L315" class="LineNr">315 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../403unicode.mu.html#L236'>read-grapheme</a> sym-data -<span id="L316" class="LineNr">316 </span> <a href='../514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> buffer, g +<span id="L316" class="LineNr">316 </span> <a href='../514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> buffer, g <span id="L317" class="LineNr">317 </span> <span class="Delimiter">{</span> <span id="L318" class="LineNr">318 </span> compare g, <span class="Constant">0x24</span>/dollar <span id="L319" class="LineNr">319 </span> <span class="PreProc">break-if-!=</span> @@ -335,7 +335,7 @@ if ('onhashchange' in window) { <span id="L324" class="LineNr">324 </span> <span class="PreProc">return</span> <span class="muComment"># symbol is all '$'s; do nothing</span> <span id="L325" class="LineNr">325 </span> <span class="Delimiter">}</span> <span id="L326" class="LineNr">326 </span> g <span class="Special"><-</span> <a href='../403unicode.mu.html#L236'>read-grapheme</a> sym-data -<span id="L327" class="LineNr">327 </span> <a href='../514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> buffer, g +<span id="L327" class="LineNr">327 </span> <a href='../514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> buffer, g <span id="L328" class="LineNr">328 </span> <span class="PreProc">loop</span> <span id="L329" class="LineNr">329 </span> <span class="Delimiter">}</span> <span id="L330" class="LineNr">330 </span> <span class="PreProc">var</span> tokenization-needed?: boolean @@ -351,11 +351,11 @@ if ('onhashchange' in window) { <span id="L340" class="LineNr">340 </span> compare curr-operator?, operator-so-far? <span id="L341" class="LineNr">341 </span> <span class="PreProc">break-if-=</span> <span id="L342" class="LineNr">342 </span> <span class="muComment"># state change; insert a space</span> -<span id="L343" class="LineNr">343 </span> <a href='../514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> buffer, <span class="Constant">0x20</span>/space +<span id="L343" class="LineNr">343 </span> <a href='../514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> buffer, <span class="Constant">0x20</span>/space <span id="L344" class="LineNr">344 </span> operator-so-far? <span class="Special"><-</span> copy curr-operator? <span id="L345" class="LineNr">345 </span> copy-to tokenization-needed?, <span class="Constant">1</span>/true <span id="L346" class="LineNr">346 </span> <span class="Delimiter">}</span> -<span id="L347" class="LineNr">347 </span> <a href='../514gap-buffer.mu.html#L441'>add-grapheme-at-gap</a> buffer, g +<span id="L347" class="LineNr">347 </span> <a href='../514gap-buffer.mu.html#L440'>add-grapheme-at-gap</a> buffer, g <span id="L348" class="LineNr">348 </span> <span class="PreProc">loop</span> <span id="L349" class="LineNr">349 </span> <span class="Delimiter">}</span> <span id="L350" class="LineNr">350 </span> compare tokenization-needed?, <span class="Constant">0</span>/false @@ -593,7 +593,7 @@ if ('onhashchange' in window) { <span id="L582" class="LineNr">582 </span> <span class="muComment">#</span> <span id="L583" class="LineNr">583 </span> <span class="PreProc">var</span> actual-buffer-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L584" class="LineNr">584 </span> <span class="PreProc">var</span> actual-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address actual-buffer-storage -<span id="L585" class="LineNr">585 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> actual-buffer, actual +<span id="L585" class="LineNr">585 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> actual-buffer, actual <span id="L586" class="LineNr">586 </span> <span class="PreProc">var</span> actual-tree-h: (handle <a href='cell.mu.html#L1'>cell</a>) <span id="L587" class="LineNr">587 </span> <span class="PreProc">var</span> actual-tree-ah/<span class="muRegEsi">esi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> address actual-tree-h <span id="L588" class="LineNr">588 </span> <a href='read.mu.html#L1'>read-cell</a> actual-buffer, actual-tree-ah, trace @@ -604,7 +604,7 @@ if ('onhashchange' in window) { <span id="L593" class="LineNr">593 </span> <span class="muComment">#</span> <span id="L594" class="LineNr">594 </span> <span class="PreProc">var</span> expected-buffer-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L595" class="LineNr">595 </span> <span class="PreProc">var</span> expected-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address expected-buffer-storage -<span id="L596" class="LineNr">596 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> expected-buffer, expected +<span id="L596" class="LineNr">596 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> expected-buffer, expected <span id="L597" class="LineNr">597 </span> <span class="PreProc">var</span> expected-tree-h: (handle <a href='cell.mu.html#L1'>cell</a>) <span id="L598" class="LineNr">598 </span> <span class="PreProc">var</span> expected-tree-ah/<span class="muRegEdi">edi</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> address expected-tree-h <span id="L599" class="LineNr">599 </span> <a href='infix.mu.html#L606'>read-without-infix</a> expected-buffer, expected-tree-ah, trace diff --git a/html/shell/int-stack.mu.html b/html/shell/int-stack.mu.html index c3b11a6c..a0851417 100644 --- a/html/shell/int-stack.mu.html +++ b/html/shell/int-stack.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/int-stack.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -27,7 +27,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ diff --git a/html/shell/macroexpand.mu.html b/html/shell/macroexpand.mu.html index b9c383f6..7d233c59 100644 --- a/html/shell/macroexpand.mu.html +++ b/html/shell/macroexpand.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/macroexpand.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -32,7 +32,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -65,7 +65,7 @@ if ('onhashchange' in window) { <a href='https://github.com/akkartik/mu/blob/main/shell/macroexpand.mu'>https://github.com/akkartik/mu/blob/main/shell/macroexpand.mu</a> <pre id='vimCodeElement'> <span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='macroexpand.mu.html#L1'>macroexpand</a></span> expr-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), globals: (addr <a href='global.mu.html#L1'>global-table</a>), trace: (addr trace) <span class="Delimiter">{</span> -<span id="L2" class="Folded"> 2 </span><span class="Folded">+-- 15 lines: # trace "macroexpand " expr-ah ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2" class="Folded"> 2 </span><span class="Folded">+-- 15 lines: # trace "macroexpand " expr-ah --------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L17" class="LineNr"> 17 </span> <a href='trace.mu.html#L239'>trace-lower</a> trace <span id="L18" class="LineNr"> 18 </span><span class="CommentedCode">#? clear-screen 0</span> <span id="L19" class="LineNr"> 19 </span><span class="CommentedCode">#? set-cursor-position 0, 0x20 0x20</span> @@ -79,7 +79,7 @@ if ('onhashchange' in window) { <span id="L27" class="LineNr"> 27 </span> <span class="PreProc">loop-if-!=</span> <span id="L28" class="LineNr"> 28 </span> <span class="Delimiter">}</span> <span id="L29" class="LineNr"> 29 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L30" class="Folded"> 30 </span><span class="Folded">+-- 15 lines: # trace "=> " expr-ah ---------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L30" class="Folded"> 30 </span><span class="Folded">+-- 15 lines: # trace "=> " expr-ah -----------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L45" class="LineNr"> 45 </span><span class="Delimiter">}</span> <span id="L46" class="LineNr"> 46 </span> <span id="L47" class="LineNr"> 47 </span><span class="muComment"># return true if we found any macros</span> @@ -90,7 +90,7 @@ if ('onhashchange' in window) { <span id="L52" class="LineNr"> 52 </span> <span class="PreProc">break-if-!=</span> <span id="L53" class="LineNr"> 53 </span> <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">"macroexpand-iter: NULL expr-ah"</span> <span id="L54" class="LineNr"> 54 </span> <span class="Delimiter">}</span> -<span id="L55" class="Folded"> 55 </span><span class="Folded">+-- 15 lines: # trace "macroexpand-iter " expr ----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L55" class="Folded"> 55 </span><span class="Folded">+-- 15 lines: # trace "macroexpand-iter " expr ------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L70" class="LineNr"> 70 </span> <a href='trace.mu.html#L239'>trace-lower</a> trace <span id="L71" class="LineNr"> 71 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"a"</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg <span id="L72" class="LineNr"> 72 </span> <span class="muComment"># if expr is a non-pair, return</span> @@ -185,7 +185,7 @@ if ('onhashchange' in window) { <span id="L161" class="LineNr">161 </span> <span class="PreProc">loop</span> <span id="L162" class="LineNr">162 </span> <span class="Delimiter">}</span> <span id="L163" class="LineNr">163 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L164" class="Folded">164 </span><span class="Folded">+-- 15 lines: # trace "fn=> " _expr-ah ------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L164" class="Folded">164 </span><span class="Folded">+-- 15 lines: # trace "fn=> " _expr-ah --------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L179" class="LineNr">179 </span> <span class="PreProc">return</span> result <span id="L180" class="LineNr">180 </span> <span class="Delimiter">}</span> <span id="L181" class="LineNr">181 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"g"</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg @@ -248,7 +248,7 @@ if ('onhashchange' in window) { <span id="L238" class="LineNr">238 </span> <span class="PreProc">var</span> val-ah/<span class="muRegEdx">edx</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> get rest, left <span id="L239" class="LineNr">239 </span> <span class="PreProc">var</span> macro-found?/eax: boolean <span class="Special"><-</span> <a href='macroexpand.mu.html#L48'>macroexpand-iter</a> val-ah, globals, trace <span id="L240" class="LineNr">240 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L241" class="Folded">241 </span><span class="Folded">+-- 15 lines: # trace "define=> " _expr-ah --------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L241" class="Folded">241 </span><span class="Folded">+-- 15 lines: # trace "define=> " _expr-ah ----------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L256" class="LineNr">256 </span> <span class="PreProc">return</span> macro-found? <span id="L257" class="LineNr">257 </span> <span class="Delimiter">}</span> <span id="L258" class="LineNr">258 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"j"</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg @@ -265,7 +265,7 @@ if ('onhashchange' in window) { <span id="L269" class="LineNr">269 </span> <span class="PreProc">var</span> val-ah/<span class="muRegEdx">edx</span>: (addr handle <a href='cell.mu.html#L1'>cell</a>) <span class="Special"><-</span> get rest, left <span id="L270" class="LineNr">270 </span> <span class="PreProc">var</span> macro-found?/eax: boolean <span class="Special"><-</span> <a href='macroexpand.mu.html#L48'>macroexpand-iter</a> val-ah, globals, trace <span id="L271" class="LineNr">271 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L272" class="Folded">272 </span><span class="Folded">+-- 15 lines: # trace "set=> " _expr-ah -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L272" class="Folded">272 </span><span class="Folded">+-- 15 lines: # trace "set=> " _expr-ah -------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L287" class="LineNr">287 </span> <span class="PreProc">return</span> macro-found? <span id="L288" class="LineNr">288 </span> <span class="Delimiter">}</span> <span id="L289" class="LineNr">289 </span> <a href='../315stack-debug.subx.html#L56'>debug-print</a> <span class="Constant">"k"</span>, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg @@ -301,7 +301,7 @@ if ('onhashchange' in window) { <span id="L319" class="LineNr">319 </span><span class="CommentedCode">#? turn-on-debug-print</span> <span id="L320" class="LineNr">320 </span> <a href='evaluate.mu.html#L681'>apply</a> macro-definition-ah, rest-ah, expr-ah, globals, trace, <span class="Constant">0</span>/no-screen, <span class="Constant">0</span>/no-keyboard, <span class="Constant">0</span>/definitions-created, <span class="Constant">0</span>/call-number <span id="L321" class="LineNr">321 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L322" class="Folded">322 </span><span class="Folded">+-- 15 lines: # trace "1=> " _expr-ah -------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L322" class="Folded">322 </span><span class="Folded">+-- 15 lines: # trace "1=> " _expr-ah ---------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L337" class="LineNr">337 </span> <span class="PreProc">return</span> <span class="Constant">1</span>/true <span id="L338" class="LineNr">338 </span> <span class="Delimiter">}</span> <span id="L339" class="LineNr">339 </span> <span class="muComment"># no macro found; process any macros within args</span> @@ -333,7 +333,7 @@ if ('onhashchange' in window) { <span id="L365" class="LineNr">365 </span> <span class="PreProc">loop</span> <span id="L366" class="LineNr">366 </span> <span class="Delimiter">}</span> <span id="L367" class="LineNr">367 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace -<span id="L368" class="Folded">368 </span><span class="Folded">+-- 15 lines: # trace "=> " _expr-ah --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L368" class="Folded">368 </span><span class="Folded">+-- 15 lines: # trace "=> " _expr-ah ----------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L383" class="LineNr">383 </span> <span class="PreProc">return</span> result <span id="L384" class="LineNr">384 </span><span class="Delimiter">}</span> <span id="L385" class="LineNr">385 </span> diff --git a/html/shell/main.mu.html b/html/shell/main.mu.html index 7c3c944f..585b5f87 100644 --- a/html/shell/main.mu.html +++ b/html/shell/main.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/main.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -25,7 +25,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -65,7 +65,7 @@ if ('onhashchange' in window) { <span id="L6" class="LineNr"> 6 </span> <span class="PreProc">var</span> env/<span class="muRegEsi">esi</span>: (addr <a href='environment.mu.html#L8'>environment</a>) <span class="Special"><-</span> address env-storage <span id="L7" class="LineNr"> 7 </span> <a href='environment.mu.html#L103'>initialize-environment</a> env, <span class="Constant">0x20</span>/fake-screen-width, <span class="Constant">8</span>/fake-screen-height <span id="L8" class="LineNr"> 8 </span> <a href='environment.mu.html#L950'>load-state</a> env, data-disk -<span id="L9" class="LineNr"> 9 </span> $main:<span class="PreProc">loop</span>: <span class="Delimiter">{</span> +<span id="L9" class="LineNr"> 9 </span> <span class="Delimiter">{</span> <span id="L10" class="LineNr">10 </span> <a href='environment.mu.html#L115'>render-environment</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, env <span id="L11" class="LineNr">11 </span> <span class="muComment"># no way to quit right now; just reboot</span> <span id="L12" class="LineNr">12 </span> <span class="Delimiter">{</span> diff --git a/html/shell/parenthesize.mu.html b/html/shell/parenthesize.mu.html index 2183542f..e48e748a 100644 --- a/html/shell/parenthesize.mu.html +++ b/html/shell/parenthesize.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/parenthesize.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -32,7 +32,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -377,14 +377,14 @@ if ('onhashchange' in window) { <span id="L311" class="LineNr">311 </span> <span class="muComment">#</span> <span id="L312" class="LineNr">312 </span> <span class="PreProc">var</span> actual-buffer-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L313" class="LineNr">313 </span> <span class="PreProc">var</span> actual-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address actual-buffer-storage -<span id="L314" class="LineNr">314 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> actual-buffer, actual +<span id="L314" class="LineNr">314 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> actual-buffer, actual <span id="L315" class="LineNr">315 </span> <span class="PreProc">var</span> actual-tokens-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x40</span>) <span id="L316" class="LineNr">316 </span> <span class="PreProc">var</span> actual-tokens/<span class="muRegEsi">esi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address actual-tokens-storage <span id="L317" class="LineNr">317 </span> <a href='parenthesize.mu.html#L383'>tokenize-and-parenthesize</a> actual-buffer, actual-tokens, trace <span id="L318" class="LineNr">318 </span> <span class="muComment">#</span> <span id="L319" class="LineNr">319 </span> <span class="PreProc">var</span> expected-buffer-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L320" class="LineNr">320 </span> <span class="PreProc">var</span> expected-buffer/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address expected-buffer-storage -<span id="L321" class="LineNr">321 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> expected-buffer, expected +<span id="L321" class="LineNr">321 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> expected-buffer, expected <span id="L322" class="LineNr">322 </span> <span class="PreProc">var</span> expected-tokens-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x40</span>) <span id="L323" class="LineNr">323 </span> <span class="PreProc">var</span> expected-tokens/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address expected-tokens-storage <span id="L324" class="LineNr">324 </span> <a href='parenthesize.mu.html#L396'>tokenize-salient</a> expected-buffer, expected-tokens, trace @@ -407,12 +407,12 @@ if ('onhashchange' in window) { <span id="L341" class="LineNr">341 </span> <span class="Delimiter">{</span> <span id="L342" class="LineNr">342 </span> <span class="PreProc">break-if-!=</span> <span id="L343" class="LineNr">343 </span> <span class="muComment"># actual empty, but expected not empty</span> -<span id="L344" class="LineNr">344 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg -<span id="L345" class="LineNr">345 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">": too short\n"</span>, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg +<span id="L344" class="LineNr">344 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg +<span id="L345" class="LineNr">345 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">": too short\n"</span>, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg <span id="L346" class="LineNr">346 </span> <a href='../104test.subx.html#L5'>count-test-failure</a> <span id="L347" class="LineNr">347 </span> <span class="PreProc">return</span> <span id="L348" class="LineNr">348 </span> <span class="Delimiter">}</span> -<span id="L349" class="LineNr">349 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"."</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg +<span id="L349" class="LineNr">349 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"."</span>, <span class="Constant">3</span>/fg/cyan, <span class="Constant">0</span>/bg <span id="L350" class="LineNr">350 </span> <span class="PreProc">return</span> <span id="L351" class="LineNr">351 </span> <span class="Delimiter">}</span> <span id="L352" class="LineNr">352 </span> <span class="PreProc">var</span> expected-done?/eax: boolean <span class="Special"><-</span> <a href='../309stream.subx.html#L6'>stream-empty?</a> expected @@ -420,8 +420,8 @@ if ('onhashchange' in window) { <span id="L354" class="LineNr">354 </span> <span class="Delimiter">{</span> <span id="L355" class="LineNr">355 </span> <span class="PreProc">break-if-=</span> <span id="L356" class="LineNr">356 </span> <span class="muComment"># actual not empty, but expected empty</span> -<span id="L357" class="LineNr">357 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg -<span id="L358" class="LineNr">358 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">": too long\n"</span>, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg +<span id="L357" class="LineNr">357 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg +<span id="L358" class="LineNr">358 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">": too long\n"</span>, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg <span id="L359" class="LineNr">359 </span> <a href='../104test.subx.html#L5'>count-test-failure</a> <span id="L360" class="LineNr">360 </span> <span class="PreProc">return</span> <span id="L361" class="LineNr">361 </span> <span class="Delimiter">}</span> @@ -438,7 +438,7 @@ if ('onhashchange' in window) { <span id="L372" class="LineNr">372 </span> compare match?, <span class="Constant">0</span>/false <span id="L373" class="LineNr">373 </span> <span class="Delimiter">{</span> <span id="L374" class="LineNr">374 </span> <span class="PreProc">break-if-!=</span> -<span id="L375" class="LineNr">375 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg +<span id="L375" class="LineNr">375 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, message, <span class="Constant">3</span>/fg=cyan <span class="Constant">0</span>/bg <span id="L376" class="LineNr">376 </span> <a href='../104test.subx.html#L5'>count-test-failure</a> <span id="L377" class="LineNr">377 </span> <span class="PreProc">return</span> <span id="L378" class="LineNr">378 </span> <span class="Delimiter">}</span> diff --git a/html/shell/parse.mu.html b/html/shell/parse.mu.html index 7f652842..a3de98f2 100644 --- a/html/shell/parse.mu.html +++ b/html/shell/parse.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/parse.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -28,7 +28,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ diff --git a/html/shell/primitives.mu.html b/html/shell/primitives.mu.html index 3cebf0f6..8a761270 100644 --- a/html/shell/primitives.mu.html +++ b/html/shell/primitives.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/primitives.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -31,7 +31,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -137,56 +137,56 @@ if ('onhashchange' in window) { <span id="L72" class="LineNr"> 72 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='primitives.mu.html#L72'>render-primitives</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), xmin: int, xmax: int, ymax: int <span class="Delimiter">{</span> <span id="L73" class="LineNr"> 73 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy ymax <span id="L74" class="LineNr"> 74 </span> y <span class="Special"><-</span> subtract <span class="Constant">0x11</span>/primitives-border -<span id="L75" class="LineNr"> 75 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, y, xmax, ymax, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L75" class="LineNr"> 75 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, y, xmax, ymax, <span class="Constant">0xdc</span>/bg=green-bg <span id="L76" class="LineNr"> 76 </span> y <span class="Special"><-</span> increment <span id="L77" class="LineNr"> 77 </span> <span class="PreProc">var</span> right-min/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy xmax <span id="L78" class="LineNr"> 78 </span> right-min <span class="Special"><-</span> subtract <span class="Constant">0x1e</span>/primitives-divider -<span id="L79" class="LineNr"> 79 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L80" class="LineNr"> 80 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"primitives"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L79" class="LineNr"> 79 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L80" class="LineNr"> 80 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"primitives"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L81" class="LineNr"> 81 </span> y <span class="Special"><-</span> increment -<span id="L82" class="LineNr"> 82 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L83" class="LineNr"> 83 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" fn <a href='evaluate.mu.html#L681'>apply</a> set if while"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L82" class="LineNr"> 82 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L83" class="LineNr"> 83 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" fn <a href='evaluate.mu.html#L681'>apply</a> set if while"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg <span id="L84" class="LineNr"> 84 </span> y <span class="Special"><-</span> increment -<span id="L85" class="LineNr"> 85 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L86" class="LineNr"> 86 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"booleans"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L85" class="LineNr"> 85 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L86" class="LineNr"> 86 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"booleans"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L87" class="LineNr"> 87 </span> y <span class="Special"><-</span> increment -<span id="L88" class="LineNr"> 88 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L89" class="LineNr"> 89 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" = and or not"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L88" class="LineNr"> 88 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L89" class="LineNr"> 89 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" = and or not"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg <span id="L90" class="LineNr"> 90 </span> y <span class="Special"><-</span> increment -<span id="L91" class="LineNr"> 91 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L92" class="LineNr"> 92 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"lists"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L91" class="LineNr"> 91 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L92" class="LineNr"> 92 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"lists"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L93" class="LineNr"> 93 </span> y <span class="Special"><-</span> increment -<span id="L94" class="LineNr"> 94 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L95" class="LineNr"> 95 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" cons <a href='evaluate.mu.html#L1237'>car</a> <a href='evaluate.mu.html#L1265'>cdr</a> no cons? len"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L94" class="LineNr"> 94 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L95" class="LineNr"> 95 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" cons <a href='evaluate.mu.html#L1237'>car</a> <a href='evaluate.mu.html#L1265'>cdr</a> no cons? len"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg <span id="L96" class="LineNr"> 96 </span> y <span class="Special"><-</span> increment -<span id="L97" class="LineNr"> 97 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L98" class="LineNr"> 98 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"numbers"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L97" class="LineNr"> 97 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L98" class="LineNr"> 98 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"numbers"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L99" class="LineNr"> 99 </span> y <span class="Special"><-</span> increment -<span id="L100" class="LineNr"> 100 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L101" class="LineNr"> 101 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" + - * / %"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L100" class="LineNr"> 100 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L101" class="LineNr"> 101 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" + - * / %"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg <span id="L102" class="LineNr"> 102 </span> y <span class="Special"><-</span> increment -<span id="L103" class="LineNr"> 103 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L104" class="LineNr"> 104 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" < > <= >="</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L103" class="LineNr"> 103 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L104" class="LineNr"> 104 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" < > <= >="</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg <span id="L105" class="LineNr"> 105 </span> y <span class="Special"><-</span> increment -<span id="L106" class="LineNr"> 106 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L107" class="LineNr"> 107 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" sqrt <a href='../506math.mu.html#L1'>abs</a> sgn"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L106" class="LineNr"> 106 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L107" class="LineNr"> 107 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" sqrt <a href='../506math.mu.html#L1'>abs</a> sgn"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg <span id="L108" class="LineNr"> 108 </span> y <span class="Special"><-</span> increment -<span id="L109" class="LineNr"> 109 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L110" class="LineNr"> 110 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"arrays"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L109" class="LineNr"> 109 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L110" class="LineNr"> 110 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"arrays"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L111" class="LineNr"> 111 </span> y <span class="Special"><-</span> increment -<span id="L112" class="LineNr"> 112 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L113" class="LineNr"> 113 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" array index iset len"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L112" class="LineNr"> 112 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L113" class="LineNr"> 113 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" array index iset len"</span>, right-min, y, xmax, ymax, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg <span id="L114" class="LineNr"> 114 </span> y <span class="Special"><-</span> increment <span id="L115" class="LineNr"> 115 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy right-min -<span id="L116" class="LineNr"> 116 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" populate"</span>, tmpx, xmax, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L117" class="LineNr"> 117 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": int _ -> array"</span>, tmpx, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L116" class="LineNr"> 116 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" populate"</span>, tmpx, xmax, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L117" class="LineNr"> 117 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": int _ -> array"</span>, tmpx, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L118" class="LineNr"> 118 </span> y <span class="Special"><-</span> increment -<span id="L119" class="LineNr"> 119 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y -<span id="L120" class="LineNr"> 120 </span> <a href='../501draw-text.mu.html#L269'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"images"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L119" class="LineNr"> 119 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, right-min, y +<span id="L120" class="LineNr"> 120 </span> <a href='../501draw-text.mu.html#L324'>draw-text-wrapping-right-then-down-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"images"</span>, right-min, y, xmax, ymax, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L121" class="LineNr"> 121 </span> y <span class="Special"><-</span> increment <span id="L122" class="LineNr"> 122 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy right-min -<span id="L123" class="LineNr"> 123 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" img"</span>, tmpx, xmax, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L124" class="LineNr"> 124 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> stream x y w h"</span>, tmpx, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L123" class="LineNr"> 123 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" img"</span>, tmpx, xmax, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L124" class="LineNr"> 124 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> stream x y w h"</span>, tmpx, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L125" class="LineNr"> 125 </span><span class="CommentedCode">#? {</span> <span id="L126" class="LineNr"> 126 </span><span class="CommentedCode">#? compare screen, 0</span> <span id="L127" class="LineNr"> 127 </span><span class="CommentedCode">#? break-if-!=</span> @@ -199,64 +199,64 @@ if ('onhashchange' in window) { <span id="L134" class="LineNr"> 134 </span> <span class="PreProc">var</span> left-max/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy xmax <span id="L135" class="LineNr"> 135 </span> left-max <span class="Special"><-</span> subtract <span class="Constant">0x20</span>/primitives-divider <span id="L136" class="LineNr"> 136 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L137" class="LineNr"> 137 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"cursor graphics"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L137" class="LineNr"> 137 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"cursor graphics"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L138" class="LineNr"> 138 </span> y <span class="Special"><-</span> increment <span id="L139" class="LineNr"> 139 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L140" class="LineNr"> 140 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" print"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L141" class="LineNr"> 141 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> _ -> _"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L140" class="LineNr"> 140 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" print"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L141" class="LineNr"> 141 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> _ -> _"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L142" class="LineNr"> 142 </span> y <span class="Special"><-</span> increment <span id="L143" class="LineNr"> 143 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L144" class="LineNr"> 144 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" lines columns"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L145" class="LineNr"> 145 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> -> number"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L144" class="LineNr"> 144 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" lines columns"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L145" class="LineNr"> 145 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> -> number"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L146" class="LineNr"> 146 </span> y <span class="Special"><-</span> increment <span id="L147" class="LineNr"> 147 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L148" class="LineNr"> 148 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" up down left right"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L149" class="LineNr"> 149 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": screen"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L148" class="LineNr"> 148 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" up down left right"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L149" class="LineNr"> 149 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": screen"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L150" class="LineNr"> 150 </span> y <span class="Special"><-</span> increment <span id="L151" class="LineNr"> 151 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L152" class="LineNr"> 152 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" cr"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L153" class="LineNr"> 153 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> "</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L154" class="LineNr"> 154 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"# move cursor down and to left margin"</span>, tmpx, left-max, y, <span class="Constant">0x38</span>/fg=trace, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L152" class="LineNr"> 152 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" cr"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L153" class="LineNr"> 153 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> "</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L154" class="LineNr"> 154 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"# move cursor down and to left margin"</span>, tmpx, left-max, y, <span class="Constant">0x38</span>/fg=trace, <span class="Constant">0xdc</span>/bg=green-bg <span id="L155" class="LineNr"> 155 </span> y <span class="Special"><-</span> increment <span id="L156" class="LineNr"> 156 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L157" class="LineNr"> 157 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"pixel graphics"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L157" class="LineNr"> 157 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"pixel graphics"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L158" class="LineNr"> 158 </span> y <span class="Special"><-</span> increment <span id="L159" class="LineNr"> 159 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L160" class="LineNr"> 160 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" circle bezier line hline vline pixel"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L160" class="LineNr"> 160 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" circle bezier line hline vline pixel"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg <span id="L161" class="LineNr"> 161 </span> y <span class="Special"><-</span> increment <span id="L162" class="LineNr"> 162 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L163" class="LineNr"> 163 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" width height"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L164" class="LineNr"> 164 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> -> number"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L163" class="LineNr"> 163 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" width height"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L164" class="LineNr"> 164 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": <a href='../500fake-screen.mu.html#L14'>screen</a> -> number"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L165" class="LineNr"> 165 </span> y <span class="Special"><-</span> increment <span id="L166" class="LineNr"> 166 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L167" class="LineNr"> 167 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" clear"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L168" class="LineNr"> 168 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": screen"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L167" class="LineNr"> 167 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" clear"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L168" class="LineNr"> 168 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": screen"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L169" class="LineNr"> 169 </span> y <span class="Special"><-</span> increment <span id="L170" class="LineNr"> 170 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L171" class="LineNr"> 171 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"input"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L171" class="LineNr"> 171 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"input"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L172" class="LineNr"> 172 </span> y <span class="Special"><-</span> increment <span id="L173" class="LineNr"> 173 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L174" class="LineNr"> 174 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" key"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L175" class="LineNr"> 175 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": keyboard -> grapheme?"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L174" class="LineNr"> 174 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" key"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L175" class="LineNr"> 175 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": keyboard -> grapheme?"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L176" class="LineNr"> 176 </span> y <span class="Special"><-</span> increment <span id="L177" class="LineNr"> 177 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L178" class="LineNr"> 178 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"streams"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L178" class="LineNr"> 178 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"streams"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L179" class="LineNr"> 179 </span> y <span class="Special"><-</span> increment <span id="L180" class="LineNr"> 180 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L181" class="LineNr"> 181 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" stream"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L182" class="LineNr"> 182 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": -> stream "</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L181" class="LineNr"> 181 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" stream"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L182" class="LineNr"> 182 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": -> stream "</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L183" class="LineNr"> 183 </span> y <span class="Special"><-</span> increment <span id="L184" class="LineNr"> 184 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L185" class="LineNr"> 185 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" write"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L186" class="LineNr"> 186 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": stream grapheme -> stream"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L185" class="LineNr"> 185 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" write"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L186" class="LineNr"> 186 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": stream grapheme -> stream"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L187" class="LineNr"> 187 </span> y <span class="Special"><-</span> increment <span id="L188" class="LineNr"> 188 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L189" class="LineNr"> 189 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" rewind clear"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L190" class="LineNr"> 190 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": stream"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L189" class="LineNr"> 189 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" rewind clear"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L190" class="LineNr"> 190 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": stream"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L191" class="LineNr"> 191 </span> y <span class="Special"><-</span> increment <span id="L192" class="LineNr"> 192 </span> <span class="PreProc">var</span> tmpx/eax: int <span class="Special"><-</span> copy xmin -<span id="L193" class="LineNr"> 193 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" read"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg -<span id="L194" class="LineNr"> 194 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": stream -> grapheme"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L193" class="LineNr"> 193 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" read"</span>, tmpx, left-max, y, <span class="Constant">0x2a</span>/fg=orange, <span class="Constant">0xdc</span>/bg=green-bg +<span id="L194" class="LineNr"> 194 </span> tmpx <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">": stream -> grapheme"</span>, tmpx, left-max, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xdc</span>/bg=green-bg <span id="L195" class="LineNr"> 195 </span><span class="Delimiter">}</span> <span id="L196" class="LineNr"> 196 </span> <span id="L197" class="LineNr"> 197 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='primitives.mu.html#L197'>primitive-global?</a></span> _x: (addr <a href='global.mu.html#L8'>global</a>)<span class="PreProc"> -> </span>_/eax: boolean <span class="Delimiter">{</span> @@ -1836,7 +1836,7 @@ if ('onhashchange' in window) { <span id="L1771" class="LineNr">1771 </span> <span class="PreProc">var</span> stream-storage: (stream byte <span class="Constant">0x100</span>) <span id="L1772" class="LineNr">1772 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special"><-</span> address stream-storage <span id="L1773" class="LineNr">1773 </span> <a href='print.mu.html#L7'>print-cell</a> second-ah, stream, trace -<span id="L1774" class="LineNr">1774 </span> <a href='../501draw-text.mu.html#L240'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg +<span id="L1774" class="LineNr">1774 </span> <a href='../501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, stream, <span class="Constant">7</span>/fg, <span class="Constant">0</span>/bg <span id="L1775" class="LineNr">1775 </span> <span class="muComment"># return what was printed</span> <span id="L1776" class="LineNr">1776 </span> copy-object second-ah, out <span id="L1777" class="LineNr">1777 </span><span class="Delimiter">}</span> @@ -1879,7 +1879,7 @@ if ('onhashchange' in window) { <span id="L1814" class="LineNr">1814 </span> <span class="PreProc">var</span> screen-ah/eax: (addr handle <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> get first, screen-data <span id="L1815" class="LineNr">1815 </span> <span class="PreProc">var</span> _screen/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *screen-ah <span id="L1816" class="LineNr">1816 </span> <span class="PreProc">var</span> <a href='../500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEcx">ecx</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> copy _screen -<span id="L1817" class="LineNr">1817 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1817" class="LineNr">1817 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1818" class="LineNr">1818 </span> <span class="PreProc">return</span> <span id="L1819" class="LineNr">1819 </span> <span class="Delimiter">}</span> <span id="L1820" class="LineNr">1820 </span> <span class="Special"><a href='trace.mu.html#L197'>error</a></span> trace, <span class="Constant">"first arg for 'clear' is not a <a href='../500fake-screen.mu.html#L14'>screen</a> or a stream"</span> @@ -2184,7 +2184,7 @@ if ('onhashchange' in window) { <span id="L2119" class="LineNr">2119 </span> <span class="Delimiter">}</span> <span id="L2120" class="LineNr">2120 </span> <span class="PreProc">var</span> fourth-value/eax: (addr float) <span class="Special"><-</span> get fourth, number-data <span id="L2121" class="LineNr">2121 </span> <span class="PreProc">var</span> color/eax: int <span class="Special"><-</span> convert *fourth-value -<span id="L2122" class="LineNr">2122 </span> <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color +<span id="L2122" class="LineNr">2122 </span> <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, color <span id="L2123" class="LineNr">2123 </span> <span class="muComment"># return nothing</span> <span id="L2124" class="LineNr">2124 </span><span class="Delimiter">}</span> <span id="L2125" class="LineNr">2125 </span> @@ -3121,7 +3121,7 @@ if ('onhashchange' in window) { <span id="L3056" class="LineNr">3056 </span> <span class="PreProc">return</span> result <span id="L3057" class="LineNr">3057 </span> <span class="Delimiter">}</span> <span id="L3058" class="LineNr">3058 </span> <span class="muComment"># otherwise read from fake keyboard</span> -<span id="L3059" class="LineNr">3059 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> keyboard +<span id="L3059" class="LineNr">3059 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> keyboard <span id="L3060" class="LineNr">3060 </span> <span class="PreProc">var</span> result/eax: int <span class="Special"><-</span> copy g <span id="L3061" class="LineNr">3061 </span> <span class="PreProc">return</span> result <span id="L3062" class="LineNr">3062 </span><span class="Delimiter">}</span> @@ -3558,8 +3558,8 @@ if ('onhashchange' in window) { <span id="L3493" class="LineNr">3493 </span> <span class="PreProc">var</span> dest-ah/eax: (addr handle <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> get second, screen-data <span id="L3494" class="LineNr">3494 </span> <span class="PreProc">var</span> dest/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *dest-ah <span id="L3495" class="LineNr">3495 </span> <span class="muComment">#</span> -<span id="L3496" class="LineNr">3496 </span> <a href='../500fake-screen.mu.html#L660'>convert-screen-cells-to-pixels</a> src -<span id="L3497" class="LineNr">3497 </span> <a href='../500fake-screen.mu.html#L620'>copy-pixels</a> src, dest +<span id="L3496" class="LineNr">3496 </span> <a href='../500fake-screen.mu.html#L681'>convert-screen-cells-to-pixels</a> src +<span id="L3497" class="LineNr">3497 </span> <a href='../500fake-screen.mu.html#L641'>copy-pixels</a> src, dest <span id="L3498" class="LineNr">3498 </span><span class="Delimiter">}</span> <span id="L3499" class="LineNr">3499 </span> <span id="L3500" class="LineNr">3500 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='primitives.mu.html#L3500'>apply-array</a></span> _args-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), _out-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), trace: (addr trace) <span class="Delimiter">{</span> diff --git a/html/shell/print.mu.html b/html/shell/print.mu.html index ee9331b1..ddeb6ac4 100644 --- a/html/shell/print.mu.html +++ b/html/shell/print.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/print.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -29,7 +29,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -230,7 +230,7 @@ if ('onhashchange' in window) { <span id="L167" class="LineNr">167 </span> <a href='print.mu.html#L7'>print-cell</a> in-ah, stream, trace <span id="L168" class="LineNr">168 </span> <span class="PreProc">var</span> d1/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L169" class="LineNr">169 </span> <span class="PreProc">var</span> d2/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L170" class="LineNr">170 </span> d1, d2 <span class="Special"><-</span> <a href='../501draw-text.mu.html#L206'>draw-stream-wrapping-right-then-down</a> <span class="Constant">0</span>/screen, stream, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x30</span>/ymax, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L170" class="LineNr">170 </span> d1, d2 <span class="Special"><-</span> <a href='../501draw-text.mu.html#L213'>draw-stream-wrapping-right-then-down</a> <span class="Constant">0</span>/screen, stream, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x80</span>/xmax, <span class="Constant">0x30</span>/ymax, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L171" class="LineNr">171 </span><span class="Delimiter">}</span> <span id="L172" class="LineNr">172 </span> <span id="L173" class="LineNr">173 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='print.mu.html#L173'>dump-cell-from-cursor-over-full-screen</a></span> in-ah: (addr handle <a href='cell.mu.html#L1'>cell</a>), fg: int, bg: int <span class="Delimiter">{</span> @@ -240,7 +240,7 @@ if ('onhashchange' in window) { <span id="L177" class="LineNr">177 </span> <span class="PreProc">var</span> trace/<span class="muRegEdi">edi</span>: (addr trace) <span class="Special"><-</span> address trace-storage <span id="L178" class="LineNr">178 </span> <a href='trace.mu.html#L61'>initialize-trace</a> trace, <span class="Constant">1</span>/only-errors, <span class="Constant">0x10</span>/capacity, <span class="Constant">0</span>/visible <span id="L179" class="LineNr">179 </span> <a href='print.mu.html#L7'>print-cell</a> in-ah, stream, trace -<span id="L180" class="LineNr">180 </span> <a href='../501draw-text.mu.html#L240'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, stream, fg, bg +<span id="L180" class="LineNr">180 </span> <a href='../501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, stream, fg, bg <span id="L181" class="LineNr">181 </span><span class="Delimiter">}</span> <span id="L182" class="LineNr">182 </span> <span id="L183" class="LineNr">183 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='print.mu.html#L183'>print-symbol</a></span> _in: (addr <a href='cell.mu.html#L1'>cell</a>), out: (addr stream byte), trace: (addr trace) <span class="Delimiter">{</span> diff --git a/html/shell/read.mu.html b/html/shell/read.mu.html index 18714bcc..e4b8eb24 100644 --- a/html/shell/read.mu.html +++ b/html/shell/read.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/read.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -26,7 +26,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ diff --git a/html/shell/sandbox.mu.html b/html/shell/sandbox.mu.html index 8bfec442..f4b4cb4e 100644 --- a/html/shell/sandbox.mu.html +++ b/html/shell/sandbox.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/sandbox.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -31,7 +31,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -108,7 +108,7 @@ if ('onhashchange' in window) { <span id="L43" class="LineNr"> 43 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get self, data <span id="L44" class="LineNr"> 44 </span> <a href='../120allocate.subx.html#L43'>allocate</a> data-ah <span id="L45" class="LineNr"> 45 </span> <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah -<span id="L46" class="LineNr"> 46 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> data, s +<span id="L46" class="LineNr"> 46 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> data, s <span id="L47" class="LineNr"> 47 </span> <span class="PreProc">var</span> value-ah/eax: (addr handle stream byte) <span class="Special"><-</span> get self, value <span id="L48" class="LineNr"> 48 </span> populate-stream value-ah, <span class="Constant">0x1000</span>/4KB <span id="L49" class="LineNr"> 49 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle trace) <span class="Special"><-</span> get self, trace @@ -131,20 +131,20 @@ if ('onhashchange' in window) { <span id="L66" class="LineNr"> 66 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get self, data <span id="L67" class="LineNr"> 67 </span> <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah <span id="L68" class="LineNr"> 68 </span> <span class="Delimiter">{</span> -<span id="L69" class="LineNr"> 69 </span> <span class="PreProc">var</span> len/eax: int <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L429'>gap-buffer-length</a> data +<span id="L69" class="LineNr"> 69 </span> <span class="PreProc">var</span> len/eax: int <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L428'>gap-buffer-length</a> data <span id="L70" class="LineNr"> 70 </span> compare len, <span class="Constant">0</span> <span id="L71" class="LineNr"> 71 </span> <span class="PreProc">break-if-!=</span> <span id="L72" class="LineNr"> 72 </span> <span class="PreProc">return</span> <span id="L73" class="LineNr"> 73 </span> <span class="Delimiter">}</span> <span id="L74" class="LineNr"> 74 </span> <a href='../108write.subx.html#L11'>write</a> out, <span class="Constant">" (<a href='sandbox.mu.html#L1'>sandbox</a> . ["</span> -<span id="L75" class="LineNr"> 75 </span> <a href='../514gap-buffer.mu.html#L88'>append-gap-buffer</a> data, out +<span id="L75" class="LineNr"> 75 </span> <a href='../514gap-buffer.mu.html#L87'>append-gap-buffer</a> data, out <span id="L76" class="LineNr"> 76 </span> <a href='../108write.subx.html#L11'>write</a> out, <span class="Constant">"])\n"</span> <span id="L77" class="LineNr"> 77 </span><span class="Delimiter">}</span> <span id="L78" class="LineNr"> 78 </span> <span id="L79" class="LineNr"> 79 </span><span class="muComment">##</span> <span id="L80" class="LineNr"> 80 </span> <span id="L81" class="LineNr"> 81 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L81'>render-sandbox</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='sandbox.mu.html#L1'>sandbox</a>), xmin: int, ymin: int, xmax: int, ymax: int, show-cursor?: boolean <span class="Delimiter">{</span> -<span id="L82" class="LineNr"> 82 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin, xmax, ymax, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L82" class="LineNr"> 82 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, ymin, xmax, ymax, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L83" class="LineNr"> 83 </span> add-to xmin, <span class="Constant">1</span>/padding-left <span id="L84" class="LineNr"> 84 </span> add-to ymin, <span class="Constant">1</span>/padding-top <span id="L85" class="LineNr"> 85 </span> subtract-from xmax, <span class="Constant">1</span>/padding-right @@ -164,7 +164,7 @@ if ('onhashchange' in window) { <span id="L99" class="LineNr"> 99 </span> <span class="PreProc">var</span> cursor-in-data-a/eax: (addr boolean) <span class="Special"><-</span> get self, cursor-in-data? <span id="L100" class="LineNr"> 100 </span> cursor-in-editor? <span class="Special"><-</span> copy *cursor-in-data-a <span id="L101" class="LineNr"> 101 </span> <span class="Delimiter">}</span> -<span id="L102" class="LineNr"> 102 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, y, xmax, ymax, cursor-in-editor?, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L102" class="LineNr"> 102 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, y, xmax, ymax, cursor-in-editor?, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L103" class="LineNr"> 103 </span> y <span class="Special"><-</span> increment <span id="L104" class="LineNr"> 104 </span> <span class="muComment"># trace</span> <span id="L105" class="LineNr"> 105 </span> <span class="PreProc">var</span> trace-ah/eax: (addr handle trace) <span class="Special"><-</span> get self, trace @@ -184,9 +184,9 @@ if ('onhashchange' in window) { <span id="L119" class="LineNr"> 119 </span> compare done?, <span class="Constant">0</span>/false <span id="L120" class="LineNr"> 120 </span> <span class="PreProc">break-if-!=</span> <span id="L121" class="LineNr"> 121 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L122" class="LineNr"> 122 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"=> "</span>, xmin, y, xmax, ymax, xmin, y, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L122" class="LineNr"> 122 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"=> "</span>, xmin, y, xmax, ymax, xmin, y, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L123" class="LineNr"> 123 </span> <span class="PreProc">var</span> x2/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy x -<span id="L124" class="LineNr"> 124 </span> <span class="PreProc">var</span> dummy/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L117'>draw-stream-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, value, x2, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L124" class="LineNr"> 124 </span> <span class="PreProc">var</span> dummy/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L124'>draw-stream-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, value, x2, xmax, y, <span class="Constant">7</span>/fg=grey, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L125" class="LineNr"> 125 </span> <span class="Delimiter">}</span> <span id="L126" class="LineNr"> 126 </span> y <span class="Special"><-</span> add <span class="Constant">2</span> <span class="muComment"># padding</span> <span id="L127" class="LineNr"> 127 </span> <a href='sandbox.mu.html#L198'>maybe-render-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, self, xmin, y @@ -228,9 +228,9 @@ if ('onhashchange' in window) { <span id="L163" class="LineNr"> 163 </span> y <span class="Special"><-</span> <a href='sandbox.mu.html#L171'>maybe-render-empty-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, self, xmin, y <span id="L164" class="LineNr"> 164 </span> y <span class="Special"><-</span> <a href='sandbox.mu.html#L336'>maybe-render-keyboard</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, self, xmin, y <span id="L165" class="LineNr"> 165 </span> <span class="PreProc">var</span> cursor-in-sandbox?/<span class="muRegEbx">ebx</span>: (addr boolean) <span class="Special"><-</span> get self, cursor-in-data? -<span id="L166" class="LineNr"> 166 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L386'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, y, xmax, ymax, *cursor-in-sandbox?, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L166" class="LineNr"> 166 </span> x, y <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L385'>render-gap-buffer-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, y, xmax, ymax, *cursor-in-sandbox?, <span class="Constant">3</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L167" class="LineNr"> 167 </span> y <span class="Special"><-</span> increment -<span id="L168" class="LineNr"> 168 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, y, xmax, ymax, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L168" class="LineNr"> 168 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, y, xmax, ymax, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L169" class="LineNr"> 169 </span><span class="Delimiter">}</span> <span id="L170" class="LineNr"> 170 </span> <span id="L171" class="LineNr"> 171 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L171'>maybe-render-empty-screen</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='sandbox.mu.html#L1'>sandbox</a>), xmin: int, ymin: int<span class="PreProc"> -> </span>_/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span> @@ -252,7 +252,7 @@ if ('onhashchange' in window) { <span id="L187" class="LineNr"> 187 </span> <span class="PreProc">var</span> screen-obj-ah/eax: (addr handle <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> get screen-obj-cell, screen-data <span id="L188" class="LineNr"> 188 </span> <span class="PreProc">var</span> _screen-obj/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *screen-obj-ah <span id="L189" class="LineNr"> 189 </span> <span class="PreProc">var</span> screen-obj/<span class="muRegEdx">edx</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> copy _screen-obj -<span id="L190" class="LineNr"> 190 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"screen: "</span>, xmin, <span class="Constant">0x99</span>/xmax, y, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L190" class="LineNr"> 190 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"screen: "</span>, xmin, <span class="Constant">0x99</span>/xmax, y, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L191" class="LineNr"> 191 </span> x <span class="Special"><-</span> copy xmin <span id="L192" class="LineNr"> 192 </span> x <span class="Special"><-</span> add <span class="Constant">2</span> <span id="L193" class="LineNr"> 193 </span> y <span class="Special"><-</span> increment @@ -279,12 +279,12 @@ if ('onhashchange' in window) { <span id="L214" class="LineNr"> 214 </span> <span class="PreProc">var</span> _screen-obj/eax: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *screen-obj-ah <span id="L215" class="LineNr"> 215 </span> <span class="PreProc">var</span> screen-obj/<span class="muRegEdx">edx</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> copy _screen-obj <span id="L216" class="LineNr"> 216 </span> <span class="Delimiter">{</span> -<span id="L217" class="LineNr"> 217 </span> <span class="PreProc">var</span> screen-empty?/eax: boolean <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L350'>fake-screen-empty?</a> screen-obj +<span id="L217" class="LineNr"> 217 </span> <span class="PreProc">var</span> screen-empty?/eax: boolean <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L371'>fake-screen-empty?</a> screen-obj <span id="L218" class="LineNr"> 218 </span> compare screen-empty?, <span class="Constant">0</span>/false <span id="L219" class="LineNr"> 219 </span> <span class="PreProc">break-if-=</span> <span id="L220" class="LineNr"> 220 </span> <span class="PreProc">return</span> <span id="L221" class="LineNr"> 221 </span> <span class="Delimiter">}</span> -<span id="L222" class="LineNr"> 222 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"screen: "</span>, xmin, <span class="Constant">0x99</span>/xmax, ymin, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L222" class="LineNr"> 222 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"screen: "</span>, xmin, <span class="Constant">0x99</span>/xmax, ymin, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L223" class="LineNr"> 223 </span> x <span class="Special"><-</span> copy xmin <span id="L224" class="LineNr"> 224 </span> x <span class="Special"><-</span> add <span class="Constant">2</span> <span id="L225" class="LineNr"> 225 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy ymin @@ -301,13 +301,13 @@ if ('onhashchange' in window) { <span id="L236" class="LineNr"> 236 </span> <span class="Delimiter">{</span> <span id="L237" class="LineNr"> 237 </span> compare y, *height <span id="L238" class="LineNr"> 238 </span> <span class="PreProc">break-if->=</span> -<span id="L239" class="LineNr"> 239 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, screen-y +<span id="L239" class="LineNr"> 239 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, xmin, screen-y <span id="L240" class="LineNr"> 240 </span> <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get target-screen, width <span id="L241" class="LineNr"> 241 </span> <span class="PreProc">var</span> x/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L242" class="LineNr"> 242 </span> <span class="Delimiter">{</span> <span id="L243" class="LineNr"> 243 </span> compare x, *width <span id="L244" class="LineNr"> 244 </span> <span class="PreProc">break-if->=</span> -<span id="L245" class="LineNr"> 245 </span> <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, <span class="Constant">0x18</span>/fg, <span class="Constant">0</span>/bg +<span id="L245" class="LineNr"> 245 </span> <a href='../501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x20</span>/space, <span class="Constant">0x18</span>/fg, <span class="Constant">0</span>/bg <span id="L246" class="LineNr"> 246 </span> x <span class="Special"><-</span> increment <span id="L247" class="LineNr"> 247 </span> <span class="PreProc">loop</span> <span id="L248" class="LineNr"> 248 </span> <span class="Delimiter">}</span> @@ -320,7 +320,7 @@ if ('onhashchange' in window) { <span id="L255" class="LineNr"> 255 </span> <span id="L256" class="LineNr"> 256 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L256'>render-screen</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _target-screen: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), xmin: int, ymin: int <span class="Delimiter">{</span> <span id="L257" class="LineNr"> 257 </span> <span class="PreProc">var</span> target-screen/<span class="muRegEsi">esi</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> copy _target-screen -<span id="L258" class="LineNr"> 258 </span> <a href='../500fake-screen.mu.html#L660'>convert-screen-cells-to-pixels</a> target-screen <span class="muComment"># might overwrite existing pixel data with screen cells</span> +<span id="L258" class="LineNr"> 258 </span> <a href='../500fake-screen.mu.html#L681'>convert-screen-cells-to-pixels</a> target-screen <span class="muComment"># might overwrite existing pixel data with screen cells</span> <span id="L259" class="LineNr"> 259 </span> <span class="muComment"># overlapping the two is not supported</span> <span id="L260" class="LineNr"> 260 </span> <span class="muComment"># pixel data</span> <span id="L261" class="LineNr"> 261 </span> <span class="Delimiter">{</span> @@ -353,7 +353,7 @@ if ('onhashchange' in window) { <span id="L288" class="LineNr"> 288 </span> compare x, width <span id="L289" class="LineNr"> 289 </span> <span class="PreProc">break-if->=</span> <span id="L290" class="LineNr"> 290 </span> <span class="Delimiter">{</span> -<span id="L291" class="LineNr"> 291 </span> <span class="PreProc">var</span> idx/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L607'>pixel-index</a> target-screen, x, y +<span id="L291" class="LineNr"> 291 </span> <span class="PreProc">var</span> idx/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L628'>pixel-index</a> target-screen, x, y <span id="L292" class="LineNr"> 292 </span> <span class="PreProc">var</span> color-addr/<span class="muRegEcx">ecx</span>: (addr byte) <span class="Special"><-</span> index pixels, idx <span id="L293" class="LineNr"> 293 </span> <span class="PreProc">var</span> color/<span class="muRegEcx">ecx</span>: byte <span class="Special"><-</span> copy-byte *color-addr <span id="L294" class="LineNr"> 294 </span> <span class="PreProc">var</span> color2/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy color @@ -361,7 +361,7 @@ if ('onhashchange' in window) { <span id="L296" class="LineNr"> 296 </span> x2 <span class="Special"><-</span> add left <span id="L297" class="LineNr"> 297 </span> <span class="PreProc">var</span> y2/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy y <span id="L298" class="LineNr"> 298 </span> y2 <span class="Special"><-</span> add top -<span id="L299" class="LineNr"> 299 </span> <a href='../500fake-screen.mu.html#L557'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x2, y2, color2 +<span id="L299" class="LineNr"> 299 </span> <a href='../500fake-screen.mu.html#L578'>pixel</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x2, y2, color2 <span id="L300" class="LineNr"> 300 </span> <span class="Delimiter">}</span> <span id="L301" class="LineNr"> 301 </span> x <span class="Special"><-</span> increment <span id="L302" class="LineNr"> 302 </span> <span class="PreProc">loop</span> @@ -418,7 +418,7 @@ if ('onhashchange' in window) { <span id="L353" class="LineNr"> 353 </span> <span class="PreProc">var</span> keyboard-obj/<span class="muRegEdx">edx</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> copy _keyboard-obj <span id="L354" class="LineNr"> 354 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy ymin <span id="L355" class="LineNr"> 355 </span> y <span class="Special"><-</span> increment <span class="muComment"># padding</span> -<span id="L356" class="LineNr"> 356 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"keyboard: "</span>, xmin, <span class="Constant">0x99</span>/xmax, y, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L356" class="LineNr"> 356 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"keyboard: "</span>, xmin, <span class="Constant">0x99</span>/xmax, y, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L357" class="LineNr"> 357 </span> <span class="PreProc">var</span> cursor-in-keyboard?/<span class="muRegEsi">esi</span>: (addr boolean) <span class="Special"><-</span> get self, cursor-in-keyboard? <span id="L358" class="LineNr"> 358 </span> y <span class="Special"><-</span> <a href='sandbox.mu.html#L363'>render-keyboard</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, keyboard-obj, x, y, *cursor-in-keyboard? <span id="L359" class="LineNr"> 359 </span> y <span class="Special"><-</span> increment <span class="muComment"># padding</span> @@ -435,8 +435,8 @@ if ('onhashchange' in window) { <span id="L370" class="LineNr"> 370 </span> xmax <span class="Special"><-</span> add <span class="Constant">0x10</span> <span id="L371" class="LineNr"> 371 </span> <span class="PreProc">var</span> ymax/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy ymin <span id="L372" class="LineNr"> 372 </span> ymax <span class="Special"><-</span> add <span class="Constant">1</span> -<span id="L373" class="LineNr"> 373 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, xmax, ymax, <span class="Constant">0</span>/bg -<span id="L374" class="LineNr"> 374 </span> x <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L417'>render-gap-buffer</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, keyboard, x, y, render-cursor?, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg +<span id="L373" class="LineNr"> 373 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, x, y, xmax, ymax, <span class="Constant">0</span>/bg +<span id="L374" class="LineNr"> 374 </span> x <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L416'>render-gap-buffer</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, keyboard, x, y, render-cursor?, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg <span id="L375" class="LineNr"> 375 </span> y <span class="Special"><-</span> increment <span id="L376" class="LineNr"> 376 </span> <span class="PreProc">return</span> y <span id="L377" class="LineNr"> 377 </span><span class="Delimiter">}</span> @@ -445,13 +445,13 @@ if ('onhashchange' in window) { <span id="L380" class="LineNr"> 380 </span> <span class="PreProc">var</span> target/<span class="muRegEcx">ecx</span>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> copy _target <span id="L381" class="LineNr"> 381 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array <a href='../500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special"><-</span> get target, data <span id="L382" class="LineNr"> 382 </span> <span class="PreProc">var</span> data/eax: (addr array <a href='../500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah -<span id="L383" class="LineNr"> 383 </span> <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L221'>screen-cell-index</a> target, x, y +<span id="L383" class="LineNr"> 383 </span> <span class="PreProc">var</span> index/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='../500fake-screen.mu.html#L242'>screen-cell-index</a> target, x, y <span id="L384" class="LineNr"> 384 </span> <span class="PreProc">var</span> offset/<span class="muRegEcx">ecx</span>: (offset <a href='../500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special"><-</span> compute-offset data, index <span id="L385" class="LineNr"> 385 </span> <span class="PreProc">var</span> src-cell/<span class="muRegEsi">esi</span>: (addr <a href='../500fake-screen.mu.html#L25'>screen-cell</a>) <span class="Special"><-</span> index data, offset <span id="L386" class="LineNr"> 386 </span> <span class="PreProc">var</span> src-code-point/eax: (addr code-point) <span class="Special"><-</span> get src-cell, data <span id="L387" class="LineNr"> 387 </span> <span class="PreProc">var</span> src-color/<span class="muRegEcx">ecx</span>: (addr int) <span class="Special"><-</span> get src-cell, color <span id="L388" class="LineNr"> 388 </span> <span class="PreProc">var</span> src-background-color/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get src-cell, background-color -<span id="L389" class="LineNr"> 389 </span> <a href='../501draw-text.mu.html#L84'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *src-code-point, *src-color, *src-background-color +<span id="L389" class="LineNr"> 389 </span> <a href='../501draw-text.mu.html#L91'>draw-code-point-at-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *src-code-point, *src-color, *src-background-color <span id="L390" class="LineNr"> 390 </span><span class="Delimiter">}</span> <span id="L391" class="LineNr"> 391 </span> <span id="L392" class="LineNr"> 392 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L392'>render-sandbox-edit-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Delimiter">{</span> @@ -463,35 +463,35 @@ if ('onhashchange' in window) { <span id="L398" class="LineNr"> 398 </span> y <span class="Special"><-</span> decrement <span id="L399" class="LineNr"> 399 </span> <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy y <span id="L400" class="LineNr"> 400 </span> height <span class="Special"><-</span> increment -<span id="L401" class="LineNr"> 401 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L402" class="LineNr"> 402 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y -<span id="L403" class="LineNr"> 403 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L404" class="LineNr"> 404 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L405" class="LineNr"> 405 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L406" class="LineNr"> 406 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L407" class="LineNr"> 407 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L408" class="LineNr"> 408 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L401" class="LineNr"> 401 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L402" class="LineNr"> 402 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y +<span id="L403" class="LineNr"> 403 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L404" class="LineNr"> 404 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L405" class="LineNr"> 405 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L406" class="LineNr"> 406 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L407" class="LineNr"> 407 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L408" class="LineNr"> 408 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L409" class="LineNr"> 409 </span> $render-sandbox-edit-menu:render-ctrl-m: <span class="Delimiter">{</span> <span id="L410" class="LineNr"> 410 </span> <span class="PreProc">var</span> self/eax: (addr <a href='sandbox.mu.html#L1'>sandbox</a>) <span class="Special"><-</span> copy _self <span id="L411" class="LineNr"> 411 </span> <span class="PreProc">var</span> <a href='sandbox.mu.html#L907'>has-trace?</a>/eax: boolean <span class="Special"><-</span> <a href='sandbox.mu.html#L907'>has-trace?</a> self <span id="L412" class="LineNr"> 412 </span> compare <a href='sandbox.mu.html#L907'>has-trace?</a>, <span class="Constant">0</span>/false <span id="L413" class="LineNr"> 413 </span> <span class="Delimiter">{</span> <span id="L414" class="LineNr"> 414 </span> <span class="PreProc">break-if-=</span> -<span id="L415" class="LineNr"> 415 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x38</span>/bg=trace -<span id="L416" class="LineNr"> 416 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" to trace "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L415" class="LineNr"> 415 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x38</span>/bg=trace +<span id="L416" class="LineNr"> 416 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" to trace "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L417" class="LineNr"> 417 </span> <span class="PreProc">break</span> $render-sandbox-edit-menu:render-ctrl-m <span id="L418" class="LineNr"> 418 </span> <span class="Delimiter">}</span> -<span id="L419" class="LineNr"> 419 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">3</span>/bg=keyboard -<span id="L420" class="LineNr"> 420 </span> <a href='../501draw-text.mu.html#L140'>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="L419" class="LineNr"> 419 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">3</span>/bg=keyboard +<span id="L420" class="LineNr"> 420 </span> <a href='../501draw-text.mu.html#L147'>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="L421" class="LineNr"> 421 </span> <span class="Delimiter">}</span> -<span id="L422" class="LineNr"> 422 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^a "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L423" class="LineNr"> 423 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" << "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L424" class="LineNr"> 424 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^b "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L425" class="LineNr"> 425 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <word "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L426" class="LineNr"> 426 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^f "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L427" class="LineNr"> 427 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" word> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L428" class="LineNr"> 428 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^e "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L429" class="LineNr"> 429 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" >> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L422" class="LineNr"> 422 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^a "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L423" class="LineNr"> 423 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" << "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L424" class="LineNr"> 424 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^b "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L425" class="LineNr"> 425 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <word "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L426" class="LineNr"> 426 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^f "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L427" class="LineNr"> 427 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" word> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L428" class="LineNr"> 428 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^e "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L429" class="LineNr"> 429 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" >> "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L430" class="LineNr"> 430 </span><span class="Delimiter">}</span> <span id="L431" class="LineNr"> 431 </span> <span id="L432" class="LineNr"> 432 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L432'>render-keyboard-menu</a></span> <a href='../500fake-screen.mu.html#L14'>screen</a>: (addr <a href='../500fake-screen.mu.html#L14'>screen</a>) <span class="Delimiter">{</span> @@ -502,16 +502,16 @@ if ('onhashchange' in window) { <span id="L437" class="LineNr"> 437 </span> y <span class="Special"><-</span> decrement <span id="L438" class="LineNr"> 438 </span> <span class="PreProc">var</span> height/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy y <span id="L439" class="LineNr"> 439 </span> height <span class="Special"><-</span> increment -<span id="L440" class="LineNr"> 440 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L441" class="LineNr"> 441 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y -<span id="L442" class="LineNr"> 442 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L443" class="LineNr"> 443 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L444" class="LineNr"> 444 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L445" class="LineNr"> 445 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L446" class="LineNr"> 446 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L447" class="LineNr"> 447 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L448" class="LineNr"> 448 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg -<span id="L449" class="LineNr"> 449 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" to <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="L440" class="LineNr"> 440 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L441" class="LineNr"> 441 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y +<span id="L442" class="LineNr"> 442 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L443" class="LineNr"> 443 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L444" class="LineNr"> 444 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L445" class="LineNr"> 445 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L446" class="LineNr"> 446 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L447" class="LineNr"> 447 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L448" class="LineNr"> 448 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">7</span>/bg +<span id="L449" class="LineNr"> 449 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" to <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="L450" class="LineNr"> 450 </span><span class="Delimiter">}</span> <span id="L451" class="LineNr"> 451 </span> <span id="L452" class="LineNr"> 452 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='sandbox.mu.html#L452'>edit-sandbox</a></span> _self: (addr <a href='sandbox.mu.html#L1'>sandbox</a>), key: grapheme, globals: (addr <a href='global.mu.html#L1'>global-table</a>), data-disk: (addr disk) <span class="Delimiter">{</span> @@ -598,7 +598,7 @@ if ('onhashchange' in window) { <span id="L533" class="LineNr"> 533 </span> <span class="PreProc">break-if-=</span> <span id="L534" class="LineNr"> 534 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get self, data <span id="L535" class="LineNr"> 535 </span> <span class="PreProc">var</span> data/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *data-ah -<span id="L536" class="LineNr"> 536 </span> <a href='../514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> data, key +<span id="L536" class="LineNr"> 536 </span> <a href='../514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> data, key <span id="L537" class="LineNr"> 537 </span> <span class="PreProc">return</span> <span id="L538" class="LineNr"> 538 </span> <span class="Delimiter">}</span> <span id="L539" class="LineNr"> 539 </span> <span class="muComment"># if cursor in keyboard, send key to keyboard</span> @@ -621,7 +621,7 @@ if ('onhashchange' in window) { <span id="L556" class="LineNr"> 556 </span> <span class="Delimiter">}</span> <span id="L557" class="LineNr"> 557 </span> <span class="PreProc">var</span> keyboard-ah/eax: (addr handle <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> get inner-keyboard-var, keyboard-data <span id="L558" class="LineNr"> 558 </span> <span class="PreProc">var</span> keyboard/eax: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *keyboard-ah -<span id="L559" class="LineNr"> 559 </span> <a href='../514gap-buffer.mu.html#L1204'>edit-gap-buffer</a> keyboard, key +<span id="L559" class="LineNr"> 559 </span> <a href='../514gap-buffer.mu.html#L1203'>edit-gap-buffer</a> keyboard, key <span id="L560" class="LineNr"> 560 </span> <span class="PreProc">return</span> <span id="L561" class="LineNr"> 561 </span> <span class="Delimiter">}</span> <span id="L562" class="LineNr"> 562 </span> <span class="muComment"># if cursor in trace, send key to trace</span> @@ -1021,7 +1021,7 @@ if ('onhashchange' in window) { <span id="L956" class="LineNr"> 956 </span> <span class="muComment"># expand</span> <span id="L957" class="LineNr"> 957 </span> <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk <span id="L958" class="LineNr"> 958 </span> <span class="muComment">#</span> -<span id="L959" class="LineNr"> 959 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L959" class="LineNr"> 959 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L960" class="LineNr"> 960 </span> <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor <span id="L961" class="LineNr"> 961 </span> <span class="muComment"># skip one line of padding</span> <span id="L962" class="LineNr"> 962 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/y, <span class="Constant">" 12 "</span>, <span class="Constant">"F - <a href='sandbox.mu.html#L926'>test-run-expand-trace</a>/expand-0"</span> @@ -1068,7 +1068,7 @@ if ('onhashchange' in window) { <span id="L1003" class="LineNr">1003 </span> <span class="muComment"># expand</span> <span id="L1004" class="LineNr">1004 </span> <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk <span id="L1005" class="LineNr">1005 </span> <span class="muComment">#</span> -<span id="L1006" class="LineNr">1006 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1006" class="LineNr">1006 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1007" class="LineNr">1007 </span> <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor <span id="L1008" class="LineNr">1008 </span> <span class="muComment"># skip one line of padding</span> <span id="L1009" class="LineNr">1009 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/y, <span class="Constant">" 12 "</span>, <span class="Constant">"F - <a href='sandbox.mu.html#L972'>test-run-can-rerun-when-expanding-trace</a>/pre2-0"</span> @@ -1084,7 +1084,7 @@ if ('onhashchange' in window) { <span id="L1019" class="LineNr">1019 </span> <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor <span id="L1020" class="LineNr">1020 </span> <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk <span id="L1021" class="LineNr">1021 </span> <span class="muComment">#</span> -<span id="L1022" class="LineNr">1022 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1022" class="LineNr">1022 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1023" class="LineNr">1023 </span> <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor <span id="L1024" class="LineNr">1024 </span> <span class="muComment"># screen looks same as if trace max-depth was really high</span> <span id="L1025" class="LineNr">1025 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/y, <span class="Constant">" 12 "</span>, <span class="Constant">"F - <a href='sandbox.mu.html#L972'>test-run-can-rerun-when-expanding-trace</a>/expand-0"</span> @@ -1135,7 +1135,7 @@ if ('onhashchange' in window) { <span id="L1070" class="LineNr">1070 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='sandbox.mu.html#L1041'>test-run-preserves-trace-view-on-rerun</a>/pre1-2/cursor"</span> <span id="L1071" class="LineNr">1071 </span> <span class="muComment"># expand</span> <span id="L1072" class="LineNr">1072 </span> <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk -<span id="L1073" class="LineNr">1073 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1073" class="LineNr">1073 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1074" class="LineNr">1074 </span> <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor <span id="L1075" class="LineNr">1075 </span> <span class="muComment">#</span> <span id="L1076" class="LineNr">1076 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/y, <span class="Constant">" 7 "</span>, <span class="Constant">"F - <a href='sandbox.mu.html#L1041'>test-run-preserves-trace-view-on-rerun</a>/pre2-0"</span> @@ -1202,7 +1202,7 @@ if ('onhashchange' in window) { <span id="L1137" class="LineNr">1137 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">0xb</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='sandbox.mu.html#L1041'>test-run-preserves-trace-view-on-rerun</a>/pre3-10/cursor"</span> <span id="L1138" class="LineNr">1138 </span> <span class="muComment"># expand</span> <span id="L1139" class="LineNr">1139 </span> <a href='sandbox.mu.html#L452'>edit-sandbox</a> <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0xa</span>/newline, <span class="Constant">0</span>/no-globals, <span class="Constant">0</span>/no-disk -<span id="L1140" class="LineNr">1140 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1140" class="LineNr">1140 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1141" class="LineNr">1141 </span> <a href='sandbox.mu.html#L81'>render-sandbox</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <a href='sandbox.mu.html#L1'>sandbox</a>, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0x80</span>/width, <span class="Constant">0x10</span>/height, <span class="Constant">1</span>/show-cursor <span id="L1142" class="LineNr">1142 </span> <span class="muComment"># cursor line is expanded</span> <span id="L1143" class="LineNr">1143 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/y, <span class="Constant">" 7 "</span>, <span class="Constant">"F - <a href='sandbox.mu.html#L1041'>test-run-preserves-trace-view-on-rerun</a>/expand-0"</span> diff --git a/html/shell/tokenize.mu.html b/html/shell/tokenize.mu.html index 4aea8936..69d0391d 100644 --- a/html/shell/tokenize.mu.html +++ b/html/shell/tokenize.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/tokenize.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -30,7 +30,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -77,10 +77,10 @@ if ('onhashchange' in window) { <span id="L13" class="LineNr"> 13 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='tokenize.mu.html#L13'>tokenize</a></span> in: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>), out: (addr stream <a href='tokenize.mu.html#L3'>token</a>), trace: (addr trace) <span class="Delimiter">{</span> <span id="L14" class="LineNr"> 14 </span> <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">"tokenize"</span>, <span class="Constant">"tokenize"</span> <span id="L15" class="LineNr"> 15 </span> <a href='trace.mu.html#L239'>trace-lower</a> trace -<span id="L16" class="LineNr"> 16 </span> <a href='../514gap-buffer.mu.html#L1015'>rewind-gap-buffer</a> in +<span id="L16" class="LineNr"> 16 </span> <a href='../514gap-buffer.mu.html#L1014'>rewind-gap-buffer</a> in <span id="L17" class="LineNr"> 17 </span> <span class="PreProc">var</span> at-start-of-line?/<span class="muRegEdi">edi</span>: boolean <span class="Special"><-</span> copy <span class="Constant">1</span>/true <span id="L18" class="LineNr"> 18 </span> <span class="Delimiter">{</span> -<span id="L19" class="LineNr"> 19 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in +<span id="L19" class="LineNr"> 19 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in <span id="L20" class="LineNr"> 20 </span> compare done?, <span class="Constant">0</span>/false <span id="L21" class="LineNr"> 21 </span> <span class="PreProc">break-if-!=</span> <span id="L22" class="LineNr"> 22 </span> <span class="muComment">#</span> @@ -105,7 +105,7 @@ if ('onhashchange' in window) { <span id="L41" class="LineNr"> 41 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L41'>test-tokenize-number</a></span> <span class="Delimiter">{</span> <span id="L42" class="LineNr"> 42 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L43" class="LineNr"> 43 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L44" class="LineNr"> 44 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"123 a"</span> +<span id="L44" class="LineNr"> 44 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"123 a"</span> <span id="L45" class="LineNr"> 45 </span> <span class="muComment">#</span> <span id="L46" class="LineNr"> 46 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L47" class="LineNr"> 47 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -133,7 +133,7 @@ if ('onhashchange' in window) { <span id="L69" class="LineNr"> 69 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L69'>test-tokenize-negative-number</a></span> <span class="Delimiter">{</span> <span id="L70" class="LineNr"> 70 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L71" class="LineNr"> 71 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L72" class="LineNr"> 72 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"-123 a"</span> +<span id="L72" class="LineNr"> 72 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"-123 a"</span> <span id="L73" class="LineNr"> 73 </span> <span class="muComment">#</span> <span id="L74" class="LineNr"> 74 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L75" class="LineNr"> 75 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -161,7 +161,7 @@ if ('onhashchange' in window) { <span id="L97" class="LineNr"> 97 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L97'>test-tokenize-quote</a></span> <span class="Delimiter">{</span> <span id="L98" class="LineNr"> 98 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L99" class="LineNr"> 99 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L100" class="LineNr"> 100 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"'(a)"</span> +<span id="L100" class="LineNr"> 100 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"'(a)"</span> <span id="L101" class="LineNr"> 101 </span> <span class="muComment">#</span> <span id="L102" class="LineNr"> 102 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L103" class="LineNr"> 103 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -193,7 +193,7 @@ if ('onhashchange' in window) { <span id="L129" class="LineNr"> 129 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L129'>test-tokenize-backquote</a></span> <span class="Delimiter">{</span> <span id="L130" class="LineNr"> 130 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L131" class="LineNr"> 131 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L132" class="LineNr"> 132 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"`(a)"</span> +<span id="L132" class="LineNr"> 132 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"`(a)"</span> <span id="L133" class="LineNr"> 133 </span> <span class="muComment">#</span> <span id="L134" class="LineNr"> 134 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L135" class="LineNr"> 135 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -225,7 +225,7 @@ if ('onhashchange' in window) { <span id="L161" class="LineNr"> 161 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L161'>test-tokenize-unquote</a></span> <span class="Delimiter">{</span> <span id="L162" class="LineNr"> 162 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L163" class="LineNr"> 163 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L164" class="LineNr"> 164 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">",(a)"</span> +<span id="L164" class="LineNr"> 164 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">",(a)"</span> <span id="L165" class="LineNr"> 165 </span> <span class="muComment">#</span> <span id="L166" class="LineNr"> 166 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L167" class="LineNr"> 167 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -257,7 +257,7 @@ if ('onhashchange' in window) { <span id="L193" class="LineNr"> 193 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L193'>test-tokenize-unquote-splice</a></span> <span class="Delimiter">{</span> <span id="L194" class="LineNr"> 194 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L195" class="LineNr"> 195 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L196" class="LineNr"> 196 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">",@a"</span> +<span id="L196" class="LineNr"> 196 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">",@a"</span> <span id="L197" class="LineNr"> 197 </span> <span class="muComment">#</span> <span id="L198" class="LineNr"> 198 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L199" class="LineNr"> 199 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -282,7 +282,7 @@ if ('onhashchange' in window) { <span id="L218" class="LineNr"> 218 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L218'>test-tokenize-dotted-list</a></span> <span class="Delimiter">{</span> <span id="L219" class="LineNr"> 219 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L220" class="LineNr"> 220 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L221" class="LineNr"> 221 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"(a . b)"</span> +<span id="L221" class="LineNr"> 221 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"(a . b)"</span> <span id="L222" class="LineNr"> 222 </span> <span class="muComment">#</span> <span id="L223" class="LineNr"> 223 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L224" class="LineNr"> 224 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -316,7 +316,7 @@ if ('onhashchange' in window) { <span id="L252" class="LineNr"> 252 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L252'>test-tokenize-stream-literal</a></span> <span class="Delimiter">{</span> <span id="L253" class="LineNr"> 253 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L254" class="LineNr"> 254 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L255" class="LineNr"> 255 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"\"</span>abc def\<span class="Constant">""</span> +<span id="L255" class="LineNr"> 255 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"\"</span>abc def\<span class="Constant">""</span> <span id="L256" class="LineNr"> 256 </span> <span class="muComment">#</span> <span id="L257" class="LineNr"> 257 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L258" class="LineNr"> 258 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -348,7 +348,7 @@ if ('onhashchange' in window) { <span id="L284" class="LineNr"> 284 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L284'>test-tokenize-balanced-stream-literal</a></span> <span class="Delimiter">{</span> <span id="L285" class="LineNr"> 285 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L286" class="LineNr"> 286 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L287" class="LineNr"> 287 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"[abc def]"</span> +<span id="L287" class="LineNr"> 287 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"[abc def]"</span> <span id="L288" class="LineNr"> 288 </span> <span class="muComment">#</span> <span id="L289" class="LineNr"> 289 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L290" class="LineNr"> 290 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -379,7 +379,7 @@ if ('onhashchange' in window) { <span id="L315" class="LineNr"> 315 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L315'>test-tokenize-nested-stream-literal</a></span> <span class="Delimiter">{</span> <span id="L316" class="LineNr"> 316 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L317" class="LineNr"> 317 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L318" class="LineNr"> 318 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"[abc [def]]"</span> +<span id="L318" class="LineNr"> 318 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"[abc [def]]"</span> <span id="L319" class="LineNr"> 319 </span> <span class="muComment">#</span> <span id="L320" class="LineNr"> 320 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L321" class="LineNr"> 321 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -410,7 +410,7 @@ if ('onhashchange' in window) { <span id="L346" class="LineNr"> 346 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L346'>test-tokenize-stream-literal-in-tree</a></span> <span class="Delimiter">{</span> <span id="L347" class="LineNr"> 347 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L348" class="LineNr"> 348 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L349" class="LineNr"> 349 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"([abc def])"</span> +<span id="L349" class="LineNr"> 349 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"([abc def])"</span> <span id="L350" class="LineNr"> 350 </span> <span class="muComment">#</span> <span id="L351" class="LineNr"> 351 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L352" class="LineNr"> 352 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -447,7 +447,7 @@ if ('onhashchange' in window) { <span id="L383" class="LineNr"> 383 </span><span class="PreProc">fn</span> <span class="muTest"><a href='tokenize.mu.html#L383'>test-tokenize-indent</a></span> <span class="Delimiter">{</span> <span id="L384" class="LineNr"> 384 </span> <span class="PreProc">var</span> in-storage: <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a> <span id="L385" class="LineNr"> 385 </span> <span class="PreProc">var</span> in/<span class="muRegEsi">esi</span>: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Special"><-</span> address in-storage -<span id="L386" class="LineNr"> 386 </span> <a href='../514gap-buffer.mu.html#L53'>initialize-gap-buffer-with</a> in, <span class="Constant">"abc\n def"</span> +<span id="L386" class="LineNr"> 386 </span> <a href='../514gap-buffer.mu.html#L52'>initialize-gap-buffer-with</a> in, <span class="Constant">"abc\n def"</span> <span id="L387" class="LineNr"> 387 </span> <span class="muComment">#</span> <span id="L388" class="LineNr"> 388 </span> <span class="PreProc">var</span> stream-storage: (stream <a href='tokenize.mu.html#L3'>token</a> <span class="Constant">0x10</span>) <span id="L389" class="LineNr"> 389 </span> <span class="PreProc">var</span> stream/<span class="muRegEdi">edi</span>: (addr stream <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> address stream-storage @@ -492,19 +492,19 @@ if ('onhashchange' in window) { <span id="L428" class="LineNr"> 428 </span> <span class="PreProc">break-if-=</span> <span id="L429" class="LineNr"> 429 </span> <a href='tokenize.mu.html#L801'>next-indent-token</a> in, out, trace <span class="muComment"># might not be returned</span> <span id="L430" class="LineNr"> 430 </span> <span class="Delimiter">}</span> -<span id="L431" class="LineNr"> 431 </span> <a href='../514gap-buffer.mu.html#L1190'>skip-spaces-from-gap-buffer</a> in -<span id="L432" class="LineNr"> 432 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in +<span id="L431" class="LineNr"> 431 </span> <a href='../514gap-buffer.mu.html#L1189'>skip-spaces-from-gap-buffer</a> in +<span id="L432" class="LineNr"> 432 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in <span id="L433" class="LineNr"> 433 </span> <span class="Delimiter">{</span> <span id="L434" class="LineNr"> 434 </span> compare g, <span class="Constant">0x23</span>/comment <span id="L435" class="LineNr"> 435 </span> <span class="PreProc">break-if-!=</span> <span id="L436" class="LineNr"> 436 </span> <a href='tokenize.mu.html#L788'>skip-rest-of-line</a> in <span id="L437" class="LineNr"> 437 </span> <span class="Delimiter">}</span> -<span id="L438" class="LineNr"> 438 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in +<span id="L438" class="LineNr"> 438 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in <span id="L439" class="LineNr"> 439 </span> <span class="Delimiter">{</span> <span id="L440" class="LineNr"> 440 </span> compare g, <span class="Constant">0xa</span>/newline <span id="L441" class="LineNr"> 441 </span> <span class="PreProc">break-if-!=</span> <span id="L442" class="LineNr"> 442 </span> <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">"tokenize"</span>, <span class="Constant">"newline"</span> -<span id="L443" class="LineNr"> 443 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in +<span id="L443" class="LineNr"> 443 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span id="L444" class="LineNr"> 444 </span> <a href='tokenize.mu.html#L1159'>initialize-skip-token</a> out <span class="muComment"># might drop indent if that's all there was in this line</span> <span id="L445" class="LineNr"> 445 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace <span id="L446" class="LineNr"> 446 </span> <span class="PreProc">return</span> <span class="Constant">1</span>/at-start-of-line @@ -517,7 +517,7 @@ if ('onhashchange' in window) { <span id="L453" class="LineNr"> 453 </span> <span class="PreProc">return</span> <span class="Constant">0</span>/not-at-start-of-line <span id="L454" class="LineNr"> 454 </span> <span class="Delimiter">}</span> <span id="L455" class="LineNr"> 455 </span> <span class="Delimiter">{</span> -<span id="L456" class="LineNr"> 456 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in +<span id="L456" class="LineNr"> 456 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in <span id="L457" class="LineNr"> 457 </span> compare done?, <span class="Constant">0</span>/false <span id="L458" class="LineNr"> 458 </span> <span class="PreProc">break-if-=</span> <span id="L459" class="LineNr"> 459 </span> <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">"tokenize"</span>, <span class="Constant">"end"</span> @@ -525,7 +525,7 @@ if ('onhashchange' in window) { <span id="L461" class="LineNr"> 461 </span> <a href='trace.mu.html#L250'>trace-higher</a> trace <span id="L462" class="LineNr"> 462 </span> <span class="PreProc">return</span> <span class="Constant">1</span>/at-start-of-line <span id="L463" class="LineNr"> 463 </span> <span class="Delimiter">}</span> -<span id="L464" class="LineNr"> 464 </span> <span class="PreProc">var</span> _g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in +<span id="L464" class="LineNr"> 464 </span> <span class="PreProc">var</span> _g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in <span id="L465" class="LineNr"> 465 </span> <span class="PreProc">var</span> g/<span class="muRegEcx">ecx</span>: grapheme <span class="Special"><-</span> copy _g <span id="L466" class="LineNr"> 466 </span> <span class="Delimiter">{</span> <span id="L467" class="LineNr"> 467 </span> <span class="PreProc">var</span> <a href='trace.mu.html#L123'>should-trace?</a>/eax: boolean <span class="Special"><-</span> <a href='trace.mu.html#L123'>should-trace?</a> trace @@ -543,7 +543,7 @@ if ('onhashchange' in window) { <span id="L479" class="LineNr"> 479 </span> <span class="Delimiter">{</span> <span id="L480" class="LineNr"> 480 </span> compare g, <span class="Constant">0x22</span>/double-quote <span id="L481" class="LineNr"> 481 </span> <span class="PreProc">break-if-!=</span> -<span id="L482" class="LineNr"> 482 </span> <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in <span class="muComment"># skip</span> +<span id="L482" class="LineNr"> 482 </span> <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span class="muComment"># skip</span> <span id="L483" class="LineNr"> 483 </span> <a href='tokenize.mu.html#L680'>next-stream-token</a> in, out, trace <span id="L484" class="LineNr"> 484 </span> <span class="PreProc">break</span> $next-token:case <span id="L485" class="LineNr"> 485 </span> <span class="Delimiter">}</span> @@ -551,7 +551,7 @@ if ('onhashchange' in window) { <span id="L487" class="LineNr"> 487 </span> <span class="Delimiter">{</span> <span id="L488" class="LineNr"> 488 </span> compare g, <span class="Constant">0x5b</span>/open-square-bracket <span id="L489" class="LineNr"> 489 </span> <span class="PreProc">break-if-!=</span> -<span id="L490" class="LineNr"> 490 </span> <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in <span class="muComment"># skip open bracket</span> +<span id="L490" class="LineNr"> 490 </span> <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span class="muComment"># skip open bracket</span> <span id="L491" class="LineNr"> 491 </span> <a href='tokenize.mu.html#L718'>next-balanced-stream-token</a> in, out, trace <span id="L492" class="LineNr"> 492 </span> <span class="PreProc">break</span> $next-token:case <span id="L493" class="LineNr"> 493 </span> <span class="Delimiter">}</span> @@ -575,7 +575,7 @@ if ('onhashchange' in window) { <span id="L511" class="LineNr"> 511 </span> <span class="PreProc">var</span> bracket?/eax: boolean <span class="Special"><-</span> <a href='tokenize.mu.html#L934'>bracket-grapheme?</a> g <span id="L512" class="LineNr"> 512 </span> compare bracket?, <span class="Constant">0</span>/false <span id="L513" class="LineNr"> 513 </span> <span class="PreProc">break-if-=</span> -<span id="L514" class="LineNr"> 514 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in +<span id="L514" class="LineNr"> 514 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span id="L515" class="LineNr"> 515 </span> <a href='tokenize.mu.html#L767'>next-bracket-token</a> g, out, trace <span id="L516" class="LineNr"> 516 </span> <span class="PreProc">break</span> $next-token:case <span id="L517" class="LineNr"> 517 </span> <span class="Delimiter">}</span> @@ -583,7 +583,7 @@ if ('onhashchange' in window) { <span id="L519" class="LineNr"> 519 </span> <span class="Delimiter">{</span> <span id="L520" class="LineNr"> 520 </span> compare g, <span class="Constant">0x27</span>/single-quote <span id="L521" class="LineNr"> 521 </span> <span class="PreProc">break-if-!=</span> -<span id="L522" class="LineNr"> 522 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> +<span id="L522" class="LineNr"> 522 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> <span id="L523" class="LineNr"> 523 </span> <a href='tokenize.mu.html#L1151'>initialize-token</a> out, <span class="Constant">"'"</span> <span id="L524" class="LineNr"> 524 </span> <span class="PreProc">break</span> $next-token:case <span id="L525" class="LineNr"> 525 </span> <span class="Delimiter">}</span> @@ -591,7 +591,7 @@ if ('onhashchange' in window) { <span id="L527" class="LineNr"> 527 </span> <span class="Delimiter">{</span> <span id="L528" class="LineNr"> 528 </span> compare g, <span class="Constant">0x60</span>/backquote <span id="L529" class="LineNr"> 529 </span> <span class="PreProc">break-if-!=</span> -<span id="L530" class="LineNr"> 530 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> +<span id="L530" class="LineNr"> 530 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> <span id="L531" class="LineNr"> 531 </span> <a href='tokenize.mu.html#L1151'>initialize-token</a> out, <span class="Constant">"`"</span> <span id="L532" class="LineNr"> 532 </span> <span class="PreProc">break</span> $next-token:case <span id="L533" class="LineNr"> 533 </span> <span class="Delimiter">}</span> @@ -599,23 +599,23 @@ if ('onhashchange' in window) { <span id="L535" class="LineNr"> 535 </span> <span class="Delimiter">{</span> <span id="L536" class="LineNr"> 536 </span> compare g, <span class="Constant">0x2c</span>/comma <span id="L537" class="LineNr"> 537 </span> <span class="PreProc">break-if-!=</span> -<span id="L538" class="LineNr"> 538 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> +<span id="L538" class="LineNr"> 538 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> <span id="L539" class="LineNr"> 539 </span> <span class="muComment"># check for unquote-splice</span> <span id="L540" class="LineNr"> 540 </span> <span class="Delimiter">{</span> -<span id="L541" class="LineNr"> 541 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in +<span id="L541" class="LineNr"> 541 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in <span id="L542" class="LineNr"> 542 </span> compare g, <span class="Constant">0x40</span>/at-sign <span id="L543" class="LineNr"> 543 </span> <span class="PreProc">break-if-!=</span> -<span id="L544" class="LineNr"> 544 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in +<span id="L544" class="LineNr"> 544 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span id="L545" class="LineNr"> 545 </span> <a href='tokenize.mu.html#L1151'>initialize-token</a> out, <span class="Constant">",@"</span> <span id="L546" class="LineNr"> 546 </span> <span class="PreProc">break</span> $next-token:case <span id="L547" class="LineNr"> 547 </span> <span class="Delimiter">}</span> <span id="L548" class="LineNr"> 548 </span> <a href='tokenize.mu.html#L1151'>initialize-token</a> out, <span class="Constant">","</span> <span id="L549" class="LineNr"> 549 </span> <span class="PreProc">break</span> $next-token:case <span id="L550" class="LineNr"> 550 </span> <span class="Delimiter">}</span> -<span id="L551" class="LineNr"> 551 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x40</span> <span class="Constant">0x20</span> +<span id="L551" class="LineNr"> 551 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <span class="Constant">0</span>/screen, <span class="Constant">0x40</span> <span class="Constant">0x20</span> <span id="L552" class="LineNr"> 552 </span> <span class="Delimiter">{</span> <span id="L553" class="LineNr"> 553 </span> <span class="PreProc">var</span> foo/eax: int <span class="Special"><-</span> copy g -<span id="L554" class="LineNr"> 554 </span> <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, foo, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg +<span id="L554" class="LineNr"> 554 </span> <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, foo, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg <span id="L555" class="LineNr"> 555 </span> <span class="Delimiter">}</span> <span id="L556" class="LineNr"> 556 </span> <a href='../317abort.subx.html#L5'>abort</a> <span class="Constant">"unknown <a href='tokenize.mu.html#L3'>token</a> type"</span> <span id="L557" class="LineNr"> 557 </span> <span class="Delimiter">}</span> @@ -642,10 +642,10 @@ if ('onhashchange' in window) { <span id="L578" class="LineNr"> 578 </span> <span class="PreProc">var</span> _out-data/eax: (addr stream byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *out-data-ah <span id="L579" class="LineNr"> 579 </span> <span class="PreProc">var</span> out-data/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special"><-</span> copy _out-data <span id="L580" class="LineNr"> 580 </span> $next-symbol-token:<span class="PreProc">loop</span>: <span class="Delimiter">{</span> -<span id="L581" class="LineNr"> 581 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in +<span id="L581" class="LineNr"> 581 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in <span id="L582" class="LineNr"> 582 </span> compare done?, <span class="Constant">0</span>/false <span id="L583" class="LineNr"> 583 </span> <span class="PreProc">break-if-!=</span> -<span id="L584" class="LineNr"> 584 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in +<span id="L584" class="LineNr"> 584 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in <span id="L585" class="LineNr"> 585 </span> <span class="Delimiter">{</span> <span id="L586" class="LineNr"> 586 </span> <span class="Delimiter">{</span> <span id="L587" class="LineNr"> 587 </span> <span class="PreProc">var</span> <a href='trace.mu.html#L123'>should-trace?</a>/eax: boolean <span class="Special"><-</span> <a href='trace.mu.html#L123'>should-trace?</a> trace @@ -667,7 +667,7 @@ if ('onhashchange' in window) { <span id="L603" class="LineNr"> 603 </span> <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">"tokenize"</span>, <span class="Constant">"stop"</span> <span id="L604" class="LineNr"> 604 </span> <span class="PreProc">break</span> $next-symbol-token:<span class="PreProc">loop</span> <span id="L605" class="LineNr"> 605 </span> <span class="Delimiter">}</span> -<span id="L606" class="LineNr"> 606 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in +<span id="L606" class="LineNr"> 606 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span id="L607" class="LineNr"> 607 </span> <a href='../403unicode.mu.html#L339'>write-grapheme</a> out-data, g <span id="L608" class="LineNr"> 608 </span> <span class="PreProc">loop</span> <span id="L609" class="LineNr"> 609 </span> <span class="Delimiter">}</span> @@ -694,16 +694,16 @@ if ('onhashchange' in window) { <span id="L630" class="LineNr"> 630 </span> <span class="PreProc">var</span> _out-data/eax: (addr stream byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *out-data-ah <span id="L631" class="LineNr"> 631 </span> <span class="PreProc">var</span> out-data/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special"><-</span> copy _out-data <span id="L632" class="LineNr"> 632 </span> $next-number-token:check-minus: <span class="Delimiter">{</span> -<span id="L633" class="LineNr"> 633 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in +<span id="L633" class="LineNr"> 633 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in <span id="L634" class="LineNr"> 634 </span> compare g, <span class="Constant">0x2d</span>/minus -<span id="L635" class="LineNr"> 635 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> +<span id="L635" class="LineNr"> 635 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> <span id="L636" class="LineNr"> 636 </span> <a href='../403unicode.mu.html#L339'>write-grapheme</a> out-data, g <span id="L637" class="LineNr"> 637 </span> <span class="Delimiter">}</span> <span id="L638" class="LineNr"> 638 </span> $next-number-token:<span class="PreProc">loop</span>: <span class="Delimiter">{</span> -<span id="L639" class="LineNr"> 639 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in +<span id="L639" class="LineNr"> 639 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in <span id="L640" class="LineNr"> 640 </span> compare done?, <span class="Constant">0</span>/false <span id="L641" class="LineNr"> 641 </span> <span class="PreProc">break-if-!=</span> -<span id="L642" class="LineNr"> 642 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in +<span id="L642" class="LineNr"> 642 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in <span id="L643" class="LineNr"> 643 </span> <span class="Delimiter">{</span> <span id="L644" class="LineNr"> 644 </span> <span class="Delimiter">{</span> <span id="L645" class="LineNr"> 645 </span> <span class="PreProc">var</span> <a href='trace.mu.html#L123'>should-trace?</a>/eax: boolean <span class="Special"><-</span> <a href='trace.mu.html#L123'>should-trace?</a> trace @@ -734,7 +734,7 @@ if ('onhashchange' in window) { <span id="L670" class="LineNr"> 670 </span> <span class="PreProc">return</span> <span id="L671" class="LineNr"> 671 </span> <span class="Delimiter">}</span> <span id="L672" class="LineNr"> 672 </span> <a href='trace.mu.html#L185'>trace-text</a> trace, <span class="Constant">"tokenize"</span>, <span class="Constant">"append"</span> -<span id="L673" class="LineNr"> 673 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in +<span id="L673" class="LineNr"> 673 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span id="L674" class="LineNr"> 674 </span> <a href='../403unicode.mu.html#L339'>write-grapheme</a> out-data, g <span id="L675" class="LineNr"> 675 </span> <span class="PreProc">loop</span> <span id="L676" class="LineNr"> 676 </span> <span class="Delimiter">}</span> @@ -753,14 +753,14 @@ if ('onhashchange' in window) { <span id="L689" class="LineNr"> 689 </span> <span class="PreProc">var</span> _out-data/eax: (addr stream byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *out-data-ah <span id="L690" class="LineNr"> 690 </span> <span class="PreProc">var</span> out-data/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special"><-</span> copy _out-data <span id="L691" class="LineNr"> 691 </span> <span class="Delimiter">{</span> -<span id="L692" class="LineNr"> 692 </span> <span class="PreProc">var</span> empty?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in +<span id="L692" class="LineNr"> 692 </span> <span class="PreProc">var</span> empty?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in <span id="L693" class="LineNr"> 693 </span> compare empty?, <span class="Constant">0</span>/false <span id="L694" class="LineNr"> 694 </span> <span class="Delimiter">{</span> <span id="L695" class="LineNr"> 695 </span> <span class="PreProc">break-if-=</span> <span id="L696" class="LineNr"> 696 </span> <span class="Special"><a href='trace.mu.html#L197'>error</a></span> trace, <span class="Constant">"unbalanced '\"</span>'" <span id="L697" class="LineNr"> 697 </span> <span class="PreProc">return</span> <span id="L698" class="LineNr"> 698 </span> <span class="Delimiter">}</span> -<span id="L699" class="LineNr"> 699 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in +<span id="L699" class="LineNr"> 699 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span id="L700" class="LineNr"> 700 </span> compare g, <span class="Constant">0x22</span>/double-quote <span id="L701" class="LineNr"> 701 </span> <span class="PreProc">break-if-=</span> <span id="L702" class="LineNr"> 702 </span> <a href='../403unicode.mu.html#L339'>write-grapheme</a> out-data, g @@ -792,14 +792,14 @@ if ('onhashchange' in window) { <span id="L728" class="LineNr"> 728 </span> <span class="PreProc">var</span> _out-data/eax: (addr stream byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *out-data-ah <span id="L729" class="LineNr"> 729 </span> <span class="PreProc">var</span> out-data/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special"><-</span> copy _out-data <span id="L730" class="LineNr"> 730 </span> $next-balanced-stream-token:<span class="PreProc">loop</span>: <span class="Delimiter">{</span> -<span id="L731" class="LineNr"> 731 </span> <span class="PreProc">var</span> empty?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in +<span id="L731" class="LineNr"> 731 </span> <span class="PreProc">var</span> empty?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in <span id="L732" class="LineNr"> 732 </span> compare empty?, <span class="Constant">0</span>/false <span id="L733" class="LineNr"> 733 </span> <span class="Delimiter">{</span> <span id="L734" class="LineNr"> 734 </span> <span class="PreProc">break-if-=</span> <span id="L735" class="LineNr"> 735 </span> <span class="Special"><a href='trace.mu.html#L197'>error</a></span> trace, <span class="Constant">"unbalanced '['"</span> <span id="L736" class="LineNr"> 736 </span> <span class="PreProc">return</span> <span id="L737" class="LineNr"> 737 </span> <span class="Delimiter">}</span> -<span id="L738" class="LineNr"> 738 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in +<span id="L738" class="LineNr"> 738 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span id="L739" class="LineNr"> 739 </span> <span class="Delimiter">{</span> <span id="L740" class="LineNr"> 740 </span> compare g, <span class="Constant">0x5b</span>/open-square-bracket <span id="L741" class="LineNr"> 741 </span> <span class="PreProc">break-if-!=</span> @@ -851,13 +851,13 @@ if ('onhashchange' in window) { <span id="L787" class="LineNr"> 787 </span> <span id="L788" class="LineNr"> 788 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='tokenize.mu.html#L788'>skip-rest-of-line</a></span> in: (addr <a href='../514gap-buffer.mu.html#L3'>gap-buffer</a>) <span class="Delimiter">{</span> <span id="L789" class="LineNr"> 789 </span> <span class="Delimiter">{</span> -<span id="L790" class="LineNr"> 790 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in +<span id="L790" class="LineNr"> 790 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in <span id="L791" class="LineNr"> 791 </span> compare done?, <span class="Constant">0</span>/false <span id="L792" class="LineNr"> 792 </span> <span class="PreProc">break-if-!=</span> -<span id="L793" class="LineNr"> 793 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in +<span id="L793" class="LineNr"> 793 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in <span id="L794" class="LineNr"> 794 </span> compare g, <span class="Constant">0xa</span>/newline <span id="L795" class="LineNr"> 795 </span> <span class="PreProc">break-if-=</span> -<span id="L796" class="LineNr"> 796 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> +<span id="L796" class="LineNr"> 796 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span class="muComment"># consume</span> <span id="L797" class="LineNr"> 797 </span> <span class="PreProc">loop</span> <span id="L798" class="LineNr"> 798 </span> <span class="Delimiter">}</span> <span id="L799" class="LineNr"> 799 </span><span class="Delimiter">}</span> @@ -871,10 +871,10 @@ if ('onhashchange' in window) { <span id="L807" class="LineNr"> 807 </span> <span class="PreProc">var</span> dest/<span class="muRegEdi">edi</span>: (addr int) <span class="Special"><-</span> get out, number-data <span id="L808" class="LineNr"> 808 </span> copy-to *dest, <span class="Constant">0</span> <span id="L809" class="LineNr"> 809 </span> <span class="Delimiter">{</span> -<span id="L810" class="LineNr"> 810 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1023'>gap-buffer-scan-done?</a> in +<span id="L810" class="LineNr"> 810 </span> <span class="PreProc">var</span> done?/eax: boolean <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1022'>gap-buffer-scan-done?</a> in <span id="L811" class="LineNr"> 811 </span> compare done?, <span class="Constant">0</span>/false <span id="L812" class="LineNr"> 812 </span> <span class="PreProc">break-if-!=</span> -<span id="L813" class="LineNr"> 813 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1047'>peek-from-gap-buffer</a> in +<span id="L813" class="LineNr"> 813 </span> <span class="PreProc">var</span> g/eax: grapheme <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1046'>peek-from-gap-buffer</a> in <span id="L814" class="LineNr"> 814 </span> <span class="Delimiter">{</span> <span id="L815" class="LineNr"> 815 </span> <span class="Delimiter">{</span> <span id="L816" class="LineNr"> 816 </span> <span class="PreProc">var</span> <a href='trace.mu.html#L123'>should-trace?</a>/eax: boolean <span class="Special"><-</span> <a href='trace.mu.html#L123'>should-trace?</a> trace @@ -891,7 +891,7 @@ if ('onhashchange' in window) { <span id="L827" class="LineNr"> 827 </span> <span class="muComment"># if non-space, break</span> <span id="L828" class="LineNr"> 828 </span> compare g, <span class="Constant">0x20</span>/space <span id="L829" class="LineNr"> 829 </span> <span class="PreProc">break-if-!=</span> -<span id="L830" class="LineNr"> 830 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1083'>read-from-gap-buffer</a> in +<span id="L830" class="LineNr"> 830 </span> g <span class="Special"><-</span> <a href='../514gap-buffer.mu.html#L1082'>read-from-gap-buffer</a> in <span id="L831" class="LineNr"> 831 </span> increment *dest <span id="L832" class="LineNr"> 832 </span> <span class="PreProc">loop</span> <span id="L833" class="LineNr"> 833 </span> <span class="Delimiter">}</span> @@ -1277,16 +1277,16 @@ if ('onhashchange' in window) { <span id="L1213" class="LineNr">1213 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='tokenize.mu.html#L1213'>dump-token-from-cursor</a></span> _t: (addr <a href='tokenize.mu.html#L3'>token</a>) <span class="Delimiter">{</span> <span id="L1214" class="LineNr">1214 </span> <span class="PreProc">var</span> t/<span class="muRegEsi">esi</span>: (addr <a href='tokenize.mu.html#L3'>token</a>) <span class="Special"><-</span> copy _t <span id="L1215" class="LineNr">1215 </span> <span class="PreProc">var</span> <span class="PreProc">type</span>/eax: (addr int) <span class="Special"><-</span> get t, <span class="PreProc">type</span> -<span id="L1216" class="LineNr">1216 </span> <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, *<span class="PreProc">type</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg -<span id="L1217" class="LineNr">1217 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" "</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg +<span id="L1216" class="LineNr">1216 </span> <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, *<span class="PreProc">type</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg +<span id="L1217" class="LineNr">1217 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" "</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg <span id="L1218" class="LineNr">1218 </span> <span class="PreProc">var</span> text-ah/eax: (addr handle stream byte) <span class="Special"><-</span> get t, text-data <span id="L1219" class="LineNr">1219 </span> <span class="PreProc">var</span> text/eax: (addr stream byte) <span class="Special"><-</span> <a href='../120allocate.subx.html#L235'>lookup</a> *text-ah <span id="L1220" class="LineNr">1220 </span> <a href='../106stream.subx.html#L59'>rewind-stream</a> text -<span id="L1221" class="LineNr">1221 </span> <a href='../501draw-text.mu.html#L240'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, text, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg -<span id="L1222" class="LineNr">1222 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" "</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg +<span id="L1221" class="LineNr">1221 </span> <a href='../501draw-text.mu.html#L295'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, text, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg +<span id="L1222" class="LineNr">1222 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">" "</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg <span id="L1223" class="LineNr">1223 </span> <span class="PreProc">var</span> num/eax: (addr int) <span class="Special"><-</span> get t, number-data -<span id="L1224" class="LineNr">1224 </span> <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, *num, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg -<span id="L1225" class="LineNr">1225 </span> <a href='../501draw-text.mu.html#L284'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"\n"</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg +<span id="L1224" class="LineNr">1224 </span> <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, *num, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg +<span id="L1225" class="LineNr">1225 </span> <a href='../501draw-text.mu.html#L339'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>/screen, <span class="Constant">"\n"</span>, <span class="Constant">7</span>/fg <span class="Constant">0</span>/bg <span id="L1226" class="LineNr">1226 </span><span class="Delimiter">}</span> </pre> </body> diff --git a/html/shell/trace.mu.html b/html/shell/trace.mu.html index 7092b507..c6ef024e 100644 --- a/html/shell/trace.mu.html +++ b/html/shell/trace.mu.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<!DOCTYPE html> <html> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<meta charset="UTF-8"> <title>Mu - shell/trace.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> +<meta name="Generator" content="Vim/8.2"> +<meta name="plugin-version" content="vim8.1_v2"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> <meta name="colorscheme" content="minimal-light"> -<style type="text/css"> +<style> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } @@ -31,7 +31,7 @@ a { color:inherit; } --> </style> -<script type='text/javascript'> +<script> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -557,9 +557,9 @@ if ('onhashchange' in window) { <span id="L492" class="LineNr"> 492 </span> compare width, <span class="Constant">0x80</span> <span id="L493" class="LineNr"> 493 </span> <span class="PreProc">break-if-<</span> $render-trace:render-depth <span id="L494" class="LineNr"> 494 </span> <span class="Delimiter">}</span> -<span id="L495" class="LineNr"> 495 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x70</span>/x, y -<span id="L496" class="LineNr"> 496 </span> <a href='../501draw-text.mu.html#L148'>draw-text-rightward-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"trace depth: "</span>, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L497" class="LineNr"> 497 </span> <a href='../501draw-text.mu.html#L394'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *max-depth, <span class="Constant">0x7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L495" class="LineNr"> 495 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0x70</span>/x, y +<span id="L496" class="LineNr"> 496 </span> <a href='../501draw-text.mu.html#L155'>draw-text-rightward-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"trace depth: "</span>, <span class="Constant">0x17</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L497" class="LineNr"> 497 </span> <a href='../501draw-text.mu.html#L449'>draw-int32-decimal-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *max-depth, <span class="Constant">0x7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L498" class="LineNr"> 498 </span> <span class="Delimiter">}</span> <span id="L499" class="LineNr"> 499 </span> <span class="PreProc">var</span> top-line-addr/<span class="muRegEdx">edx</span>: (addr int) <span class="Special"><-</span> get self, top-line-index <span id="L500" class="LineNr"> 500 </span> <span class="PreProc">var</span> i/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy *top-line-addr @@ -612,7 +612,7 @@ if ('onhashchange' in window) { <span id="L547" class="LineNr"> 547 </span> <span class="Delimiter">{</span> <span id="L548" class="LineNr"> 548 </span> <span class="PreProc">break-if-!=</span> <span id="L549" class="LineNr"> 549 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> copy xmin -<span id="L550" class="LineNr"> 550 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"..."</span>, xmin, ymin, xmax, ymax, x, y, fg, bg +<span id="L550" class="LineNr"> 550 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"..."</span>, xmin, ymin, xmax, ymax, x, y, fg, bg <span id="L551" class="LineNr"> 551 </span> y <span class="Special"><-</span> increment <span id="L552" class="LineNr"> 552 </span> copy-to already-hiding-lines?, <span class="Constant">1</span>/true <span id="L553" class="LineNr"> 553 </span> <span class="Delimiter">}</span> @@ -655,8 +655,8 @@ if ('onhashchange' in window) { <span id="L590" class="LineNr"> 590 </span> <span class="PreProc">break-if-=</span> <span id="L591" class="LineNr"> 591 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> copy xsave <span id="L592" class="LineNr"> 592 </span> <span class="Delimiter">{</span> -<span id="L593" class="LineNr"> 593 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L346'>draw-int32-decimal-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *depth-a, xmin, ymin, xmax, ymax, x, y, fg, bg -<span id="L594" class="LineNr"> 594 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" "</span>, xmin, ymin, xmax, ymax, x, y, fg, bg +<span id="L593" class="LineNr"> 593 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L401'>draw-int32-decimal-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, *depth-a, xmin, ymin, xmax, ymax, x, y, fg, bg +<span id="L594" class="LineNr"> 594 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" "</span>, xmin, ymin, xmax, ymax, x, y, fg, bg <span id="L595" class="LineNr"> 595 </span> <span class="muComment"># don't show label in UI; it's just for tests</span> <span id="L596" class="LineNr"> 596 </span> <span class="Delimiter">}</span> <span id="L597" class="LineNr"> 597 </span> xsave <span class="Special"><-</span> copy x @@ -668,12 +668,12 @@ if ('onhashchange' in window) { <span id="L603" class="LineNr"> 603 </span> compare unclip?, <span class="Constant">0</span>/false <span id="L604" class="LineNr"> 604 </span> <span class="Delimiter">{</span> <span id="L605" class="LineNr"> 605 </span> <span class="PreProc">break-if-=</span> -<span id="L606" class="LineNr"> 606 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, xmin, ymin, xmax, ymax, x, y, fg, bg +<span id="L606" class="LineNr"> 606 </span> x, y <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, xmin, ymin, xmax, ymax, x, y, fg, bg <span id="L607" class="LineNr"> 607 </span> <span class="Delimiter">}</span> <span id="L608" class="LineNr"> 608 </span> compare unclip?, <span class="Constant">0</span>/false <span id="L609" class="LineNr"> 609 </span> <span class="Delimiter">{</span> <span id="L610" class="LineNr"> 610 </span> <span class="PreProc">break-if-!=</span> -<span id="L611" class="LineNr"> 611 </span> x <span class="Special"><-</span> <a href='../501draw-text.mu.html#L106'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, xmax, y, fg, bg +<span id="L611" class="LineNr"> 611 </span> x <span class="Special"><-</span> <a href='../501draw-text.mu.html#L113'>draw-text-rightward</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, data, x, xmax, y, fg, bg <span id="L612" class="LineNr"> 612 </span> <span class="Delimiter">}</span> <span id="L613" class="LineNr"> 613 </span> y <span class="Special"><-</span> increment <span id="L614" class="LineNr"> 614 </span> <span class="PreProc">return</span> y @@ -780,7 +780,7 @@ if ('onhashchange' in window) { <span id="L715" class="LineNr"> 715 </span> <span class="Delimiter">}</span> <span id="L716" class="LineNr"> 716 </span> <span class="PreProc">var</span> dummy1/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L717" class="LineNr"> 717 </span> <span class="PreProc">var</span> dummy2/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L718" class="LineNr"> 718 </span> dummy1, dummy2 <span class="Special"><-</span> <a href='../501draw-text.mu.html#L181'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"..."</span>, xmin, ymin, xmax, ymax, xmin, y, <span class="Constant">9</span>/fg=trace, <span class="Constant">7</span>/cursor-line-bg +<span id="L718" class="LineNr"> 718 </span> dummy1, dummy2 <span class="Special"><-</span> <a href='../501draw-text.mu.html#L188'>draw-text-wrapping-right-then-down</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">"..."</span>, xmin, ymin, xmax, ymax, xmin, y, <span class="Constant">9</span>/fg=trace, <span class="Constant">7</span>/cursor-line-bg <span id="L719" class="LineNr"> 719 </span><span class="Delimiter">}</span> <span id="L720" class="LineNr"> 720 </span> <span id="L721" class="LineNr"> 721 </span><span class="PreProc">fn</span> <span class="muTest"><a href='trace.mu.html#L721'>test-render-trace-empty</a></span> <span class="Delimiter">{</span> @@ -955,18 +955,18 @@ if ('onhashchange' in window) { <span id="L890" class="LineNr"> 890 </span> y <span class="Special"><-</span> decrement <span id="L891" class="LineNr"> 891 </span> <span class="PreProc">var</span> height/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy y <span id="L892" class="LineNr"> 892 </span> height <span class="Special"><-</span> increment -<span id="L893" class="LineNr"> 893 </span> <a href='../500fake-screen.mu.html#L409'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L894" class="LineNr"> 894 </span> <a href='../500fake-screen.mu.html#L246'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y -<span id="L895" class="LineNr"> 895 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L896" class="LineNr"> 896 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L897" class="LineNr"> 897 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L898" class="LineNr"> 898 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L899" class="LineNr"> 899 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">3</span>/bg=keyboard -<span id="L900" class="LineNr"> 900 </span> <a href='../501draw-text.mu.html#L140'>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="L901" class="LineNr"> 901 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" enter/bksp "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L902" class="LineNr"> 902 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='trace.mu.html#L985'>expand</a>/collapse "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg -<span id="L903" class="LineNr"> 903 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight -<span id="L904" class="LineNr"> 904 </span> <a href='../501draw-text.mu.html#L140'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" show whole line "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L893" class="LineNr"> 893 </span> <a href='../500fake-screen.mu.html#L430'>clear-rect</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y, width, height, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L894" class="LineNr"> 894 </span> <a href='../500fake-screen.mu.html#L267'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/x, y +<span id="L895" class="LineNr"> 895 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^r "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L896" class="LineNr"> 896 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" run <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="L897" class="LineNr"> 897 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^g "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L898" class="LineNr"> 898 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" go to "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L899" class="LineNr"> 899 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^m "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">3</span>/bg=keyboard +<span id="L900" class="LineNr"> 900 </span> <a href='../501draw-text.mu.html#L147'>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="L901" class="LineNr"> 901 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" enter/bksp "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L902" class="LineNr"> 902 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" <a href='trace.mu.html#L985'>expand</a>/collapse "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L903" class="LineNr"> 903 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" ^s "</span>, width, <span class="Constant">0</span>/fg, <span class="Constant">0x5c</span>/bg=menu-highlight +<span id="L904" class="LineNr"> 904 </span> <a href='../501draw-text.mu.html#L147'>draw-text-rightward-from-cursor</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">" show whole line "</span>, width, <span class="Constant">7</span>/fg, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L905" class="LineNr"> 905 </span><span class="Delimiter">}</span> <span id="L906" class="LineNr"> 906 </span> <span id="L907" class="LineNr"> 907 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='trace.mu.html#L907'>edit-trace</a></span> _self: (addr trace), key: grapheme <span class="Delimiter">{</span> @@ -1658,7 +1658,7 @@ if ('onhashchange' in window) { <span id="L1593" class="LineNr">1593 </span> <a href='trace.mu.html#L185'>trace-text</a> t, <span class="Constant">"l"</span>, <span class="Constant">"line 5"</span> <span id="L1594" class="LineNr">1594 </span> <a href='trace.mu.html#L185'>trace-text</a> t, <span class="Constant">"l"</span>, <span class="Constant">"line 6"</span> <span id="L1595" class="LineNr">1595 </span> <a href='trace.mu.html#L440'>mark-lines-dirty</a> t -<span id="L1596" class="LineNr">1596 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1596" class="LineNr">1596 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1597" class="LineNr">1597 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1598" class="LineNr">1598 </span> <span class="muComment"># trace collapses, and cursor bumps up</span> <span id="L1599" class="LineNr">1599 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"... "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1550'>test-trace-keep-cursor-visible-on-refresh</a>/refresh-0"</span> @@ -1703,7 +1703,7 @@ if ('onhashchange' in window) { <span id="L1638" class="LineNr">1638 </span> <span class="muComment"># collapse</span> <span id="L1639" class="LineNr">1639 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace <span id="L1640" class="LineNr">1640 </span> <span class="muComment"># hack: we need to render here to make this test pass; we're mixing state management with rendering</span> -<span id="L1641" class="LineNr">1641 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1641" class="LineNr">1641 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1642" class="LineNr">1642 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1643" class="LineNr">1643 </span> <span class="muComment">#</span> <span id="L1644" class="LineNr">1644 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">1</span>, <span class="Constant">"F - <a href='trace.mu.html#L1607'>test-trace-collapse-at-top</a>/post-0/y"</span> @@ -1744,7 +1744,7 @@ if ('onhashchange' in window) { <span id="L1679" class="LineNr">1679 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1680" class="LineNr">1680 </span> <span class="muComment"># collapse</span> <span id="L1681" class="LineNr">1681 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace -<span id="L1682" class="LineNr">1682 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1682" class="LineNr">1682 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1683" class="LineNr">1683 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1684" class="LineNr">1684 </span> <span class="muComment">#</span> <span id="L1685" class="LineNr">1685 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">1</span>, <span class="Constant">"F - <a href='trace.mu.html#L1651'>test-trace-collapse</a>/post-0/y"</span> @@ -1792,7 +1792,7 @@ if ('onhashchange' in window) { <span id="L1727" class="LineNr">1727 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1728" class="LineNr">1728 </span> <span class="muComment"># collapse</span> <span id="L1729" class="LineNr">1729 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace -<span id="L1730" class="LineNr">1730 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1730" class="LineNr">1730 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1731" class="LineNr">1731 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1732" class="LineNr">1732 </span> <span class="muComment">#</span> <span id="L1733" class="LineNr">1733 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">1</span>, <span class="Constant">"F - <a href='trace.mu.html#L1692'>test-trace-collapse-skips-invisible-lines</a>/post-0/y"</span> @@ -1853,7 +1853,7 @@ if ('onhashchange' in window) { <span id="L1788" class="LineNr">1788 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1789" class="LineNr">1789 </span> <span class="muComment"># collapse</span> <span id="L1790" class="LineNr">1790 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace -<span id="L1791" class="LineNr">1791 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1791" class="LineNr">1791 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1792" class="LineNr">1792 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1793" class="LineNr">1793 </span> <span class="muComment">#</span> <span id="L1794" class="LineNr">1794 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">1</span>, <span class="Constant">"F - <a href='trace.mu.html#L1742'>test-trace-collapse-two-levels</a>/post-0/y"</span> @@ -1925,7 +1925,7 @@ if ('onhashchange' in window) { <span id="L1860" class="LineNr">1860 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">4</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1803'>test-trace-collapse-nested-level</a>/expand2-4/cursor"</span> <span id="L1861" class="LineNr">1861 </span> <span class="muComment"># collapse</span> <span id="L1862" class="LineNr">1862 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">8</span>/backspace -<span id="L1863" class="LineNr">1863 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L1863" class="LineNr">1863 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L1864" class="LineNr">1864 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">8</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L1865" class="LineNr">1865 </span> <span class="muComment">#</span> <span id="L1866" class="LineNr">1866 </span> <a href='../502test.mu.html#L2'>check-ints-equal</a> y, <span class="Constant">4</span>, <span class="Constant">"F - <a href='trace.mu.html#L1803'>test-trace-collapse-nested-level</a>/post-0/y"</span> @@ -2070,7 +2070,7 @@ if ('onhashchange' in window) { <span id="L2005" class="LineNr">2005 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/pre-3/cursor"</span> <span id="L2006" class="LineNr">2006 </span> <span class="muComment"># expand</span> <span id="L2007" class="LineNr">2007 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">0xa</span>/enter -<span id="L2008" class="LineNr">2008 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2008" class="LineNr">2008 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2009" class="LineNr">2009 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2010" class="LineNr">2010 </span> <span class="muComment">#</span> <span id="L2011" class="LineNr">2011 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 0 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/expand-0"</span> @@ -2084,7 +2084,7 @@ if ('onhashchange' in window) { <span id="L2019" class="LineNr">2019 </span> <span class="muComment"># scroll up</span> <span id="L2020" class="LineNr">2020 </span> <span class="muComment"># hack: we must have rendered before this point; we're mixing state management with rendering</span> <span id="L2021" class="LineNr">2021 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">2</span>/ctrl-b -<span id="L2022" class="LineNr">2022 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2022" class="LineNr">2022 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2023" class="LineNr">2023 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2024" class="LineNr">2024 </span> <span class="muComment"># no change since we're already at the top</span> <span id="L2025" class="LineNr">2025 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 0 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up0-0"</span> @@ -2097,7 +2097,7 @@ if ('onhashchange' in window) { <span id="L2032" class="LineNr">2032 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up0-3/cursor"</span> <span id="L2033" class="LineNr">2033 </span> <span class="muComment"># scroll down</span> <span id="L2034" class="LineNr">2034 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">6</span>/ctrl-f -<span id="L2035" class="LineNr">2035 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2035" class="LineNr">2035 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2036" class="LineNr">2036 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2037" class="LineNr">2037 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 4 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down1-0"</span> <span id="L2038" class="LineNr">2038 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">0</span>/y, <span class="Constant">"|||||||| "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down1-0/cursor"</span> @@ -2109,7 +2109,7 @@ if ('onhashchange' in window) { <span id="L2044" class="LineNr">2044 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down1-3/cursor"</span> <span id="L2045" class="LineNr">2045 </span> <span class="muComment"># scroll down</span> <span id="L2046" class="LineNr">2046 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">6</span>/ctrl-f -<span id="L2047" class="LineNr">2047 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2047" class="LineNr">2047 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2048" class="LineNr">2048 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2049" class="LineNr">2049 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 8 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down2-0"</span> <span id="L2050" class="LineNr">2050 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">0</span>/y, <span class="Constant">"|||||||| "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down2-0/cursor"</span> @@ -2121,7 +2121,7 @@ if ('onhashchange' in window) { <span id="L2056" class="LineNr">2056 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down2-3/cursor"</span> <span id="L2057" class="LineNr">2057 </span> <span class="muComment"># scroll down</span> <span id="L2058" class="LineNr">2058 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">6</span>/ctrl-f -<span id="L2059" class="LineNr">2059 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2059" class="LineNr">2059 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2060" class="LineNr">2060 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2061" class="LineNr">2061 </span> <span class="muComment"># no change since we're already at the bottom</span> <span id="L2062" class="LineNr">2062 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 8 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down3-0"</span> @@ -2134,7 +2134,7 @@ if ('onhashchange' in window) { <span id="L2069" class="LineNr">2069 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/down3-3/cursor"</span> <span id="L2070" class="LineNr">2070 </span> <span class="muComment"># scroll up</span> <span id="L2071" class="LineNr">2071 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">2</span>/ctrl-b -<span id="L2072" class="LineNr">2072 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2072" class="LineNr">2072 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2073" class="LineNr">2073 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2074" class="LineNr">2074 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 4 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up1-0"</span> <span id="L2075" class="LineNr">2075 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">0</span>/y, <span class="Constant">"|||||||| "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up1-0/cursor"</span> @@ -2146,7 +2146,7 @@ if ('onhashchange' in window) { <span id="L2081" class="LineNr">2081 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">3</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up1-3/cursor"</span> <span id="L2082" class="LineNr">2082 </span> <span class="muComment"># scroll up</span> <span id="L2083" class="LineNr">2083 </span> <a href='trace.mu.html#L907'>edit-trace</a> t, <span class="Constant">2</span>/ctrl-b -<span id="L2084" class="LineNr">2084 </span> <a href='../500fake-screen.mu.html#L307'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> +<span id="L2084" class="LineNr">2084 </span> <a href='../500fake-screen.mu.html#L328'>clear-screen</a> <a href='../500fake-screen.mu.html#L14'>screen</a> <span id="L2085" class="LineNr">2085 </span> <span class="PreProc">var</span> y/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> <a href='trace.mu.html#L452'>render-trace</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, t, <span class="Constant">0</span>/xmin, <span class="Constant">0</span>/ymin, <span class="Constant">0x10</span>/xmax, <span class="Constant">4</span>/ymax, <span class="Constant">1</span>/show-cursor <span id="L2086" class="LineNr">2086 </span> <a href='../504test-screen.mu.html#L7'>check-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"1 line 0 "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up2-0"</span> <span id="L2087" class="LineNr">2087 </span> <a href='../504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='../500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">7</span>/bg=cursor, <span class="Constant">0</span>/y, <span class="Constant">"|||||||| "</span>, <span class="Constant">"F - <a href='trace.mu.html#L1976'>test-trace-scroll</a>/up2-0/cursor"</span> |