about summary refs log tree commit diff stats
path: root/html/shell/grapheme-stack.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-05-18 13:01:59 -0700
committerKartik Agaram <vc@akkartik.com>2021-05-18 13:04:33 -0700
commit5396e24cba8390ca2d70d99c7e8772eee4ec3a11 (patch)
treeb266edbb6c21db7904370d082a7966783fb9e9d4 /html/shell/grapheme-stack.mu.html
parentb4c0b12542c1f1a1e141ed0c8db2f6165af06e0f (diff)
downloadmu-5396e24cba8390ca2d70d99c7e8772eee4ec3a11.tar.gz
.
Diffstat (limited to 'html/shell/grapheme-stack.mu.html')
-rw-r--r--html/shell/grapheme-stack.mu.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/html/shell/grapheme-stack.mu.html b/html/shell/grapheme-stack.mu.html
index 1ebdfe9a..a4e0719d 100644
--- a/html/shell/grapheme-stack.mu.html
+++ b/html/shell/grapheme-stack.mu.html
@@ -99,7 +99,7 @@ if ('onhashchange' in window) {
 <span id="L40" class="LineNr"> 40 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L41" class="LineNr"> 41 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
 <span id="L42" class="LineNr"> 42 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">edx</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L43" class="LineNr"> 43 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L43" class="LineNr"> 43 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L44" class="LineNr"> 44 </span>  <span class="PreProc">var</span> top/<span class="Constant">edx</span>: int <span class="Special">&lt;-</span> copy *top-addr
 <span id="L45" class="LineNr"> 45 </span>  <span class="PreProc">var</span> dest-addr/<span class="Constant">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, top
 <span id="L46" class="LineNr"> 46 </span>  <span class="PreProc">var</span> val/<span class="Constant">eax</span>: grapheme <span class="Special">&lt;-</span> copy _val
@@ -117,7 +117,7 @@ if ('onhashchange' in window) {
 <span id="L58" class="LineNr"> 58 </span>  <span class="Delimiter">}</span>
 <span id="L59" class="LineNr"> 59 </span>  subtract-from *top-addr, <span class="Constant">1</span>
 <span id="L60" class="LineNr"> 60 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">edx</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L61" class="LineNr"> 61 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L61" class="LineNr"> 61 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L62" class="LineNr"> 62 </span>  <span class="PreProc">var</span> top/<span class="Constant">edx</span>: int <span class="Special">&lt;-</span> copy *top-addr
 <span id="L63" class="LineNr"> 63 </span>  <span class="PreProc">var</span> result-addr/<span class="Constant">eax</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, top
 <span id="L64" class="LineNr"> 64 </span>  <span class="PreProc">return</span> *result-addr
@@ -126,7 +126,7 @@ if ('onhashchange' in window) {
 <span id="L67" class="LineNr"> 67 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='grapheme-stack.mu.html#L67'>copy-grapheme-stack</a></span> _src: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>), dest: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Delimiter">{</span>
 <span id="L68" class="LineNr"> 68 </span>  <span class="PreProc">var</span> src/<span class="Constant">esi</span>: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _src
 <span id="L69" class="LineNr"> 69 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get src, data
-<span id="L70" class="LineNr"> 70 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L70" class="LineNr"> 70 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L71" class="LineNr"> 71 </span>  <span class="PreProc">var</span> data/<span class="Constant">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
 <span id="L72" class="LineNr"> 72 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">ecx</span>: (addr int) <span class="Special">&lt;-</span> get src, top
 <span id="L73" class="LineNr"> 73 </span>  <span class="PreProc">var</span> i/<span class="Constant">eax</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
@@ -147,7 +147,7 @@ if ('onhashchange' in window) {
 <span id="L88" class="LineNr"> 88 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L89" class="LineNr"> 89 </span>  <span class="PreProc">var</span> matching-open-paren-index/<span class="Constant">edx</span>: int <span class="Special">&lt;-</span> <a href='grapheme-stack.mu.html#L434'>get-matching-open-paren-index</a> self, <a href='gap-buffer.mu.html#L677'>highlight-matching-open-paren?</a>, open-paren-depth
 <span id="L90" class="LineNr"> 90 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L91" class="LineNr"> 91 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L91" class="LineNr"> 91 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L92" class="LineNr"> 92 </span>  <span class="PreProc">var</span> data/<span class="Constant">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
 <span id="L93" class="LineNr"> 93 </span>  <span class="PreProc">var</span> x/<span class="Constant">eax</span>: int <span class="Special">&lt;-</span> copy _x
 <span id="L94" class="LineNr"> 94 </span>  <span class="PreProc">var</span> y/<span class="Constant">ecx</span>: int <span class="Special">&lt;-</span> copy _y
@@ -198,7 +198,7 @@ if ('onhashchange' in window) {
 <span id="L139" class="LineNr">139 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L140" class="LineNr">140 </span>  <span class="PreProc">var</span> matching-close-paren-index/<span class="Constant">edx</span>: int <span class="Special">&lt;-</span> <a href='grapheme-stack.mu.html#L378'>get-matching-close-paren-index</a> self, render-cursor?
 <span id="L141" class="LineNr">141 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">eax</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L142" class="LineNr">142 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L142" class="LineNr">142 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L143" class="LineNr">143 </span>  <span class="PreProc">var</span> data/<span class="Constant">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
 <span id="L144" class="LineNr">144 </span>  <span class="PreProc">var</span> x/<span class="Constant">eax</span>: int <span class="Special">&lt;-</span> copy _x
 <span id="L145" class="LineNr">145 </span>  <span class="PreProc">var</span> y/<span class="Constant">ecx</span>: int <span class="Special">&lt;-</span> copy _y
@@ -444,7 +444,7 @@ if ('onhashchange' in window) {
 <span id="L385" class="LineNr">385 </span>    <span class="PreProc">return</span> *top-addr
 <span id="L386" class="LineNr">386 </span>  <span class="Delimiter">}</span>
 <span id="L387" class="LineNr">387 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">eax</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L388" class="LineNr">388 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L388" class="LineNr">388 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L389" class="LineNr">389 </span>  <span class="PreProc">var</span> i/<span class="Constant">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
 <span id="L390" class="LineNr">390 </span>  <span class="muComment"># if stack is empty, return</span>
 <span id="L391" class="LineNr">391 </span>  compare i, <span class="Constant">0</span>
@@ -500,7 +500,7 @@ if ('onhashchange' in window) {
 <span id="L441" class="LineNr">441 </span>    <span class="PreProc">return</span> *top-addr
 <span id="L442" class="LineNr">442 </span>  <span class="Delimiter">}</span>
 <span id="L443" class="LineNr">443 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">eax</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L444" class="LineNr">444 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L444" class="LineNr">444 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L445" class="LineNr">445 </span>  <span class="PreProc">var</span> i/<span class="Constant">ecx</span>: int <span class="Special">&lt;-</span> copy *top-addr
 <span id="L446" class="LineNr">446 </span>  <span class="muComment"># if stack is empty, return</span>
 <span id="L447" class="LineNr">447 </span>  compare i, <span class="Constant">0</span>
@@ -541,7 +541,7 @@ if ('onhashchange' in window) {
 <span id="L482" class="LineNr">482 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='grapheme-stack.mu.html#L482'>prefix-match?</a></span> _self: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>), s: (addr stream byte)<span class="PreProc"> -&gt; </span>_/<span class="Constant">eax</span>: boolean <span class="Delimiter">{</span>
 <span id="L483" class="LineNr">483 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L484" class="LineNr">484 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L485" class="LineNr">485 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L485" class="LineNr">485 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L486" class="LineNr">486 </span>  <span class="PreProc">var</span> data/<span class="Constant">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
 <span id="L487" class="LineNr">487 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
 <span id="L488" class="LineNr">488 </span>  <span class="PreProc">var</span> i/<span class="Constant">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
@@ -569,7 +569,7 @@ if ('onhashchange' in window) {
 <span id="L510" class="LineNr">510 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='grapheme-stack.mu.html#L510'>suffix-match?</a></span> _self: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>), s: (addr stream byte)<span class="PreProc"> -&gt; </span>_/<span class="Constant">eax</span>: boolean <span class="Delimiter">{</span>
 <span id="L511" class="LineNr">511 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L512" class="LineNr">512 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">edi</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L513" class="LineNr">513 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L513" class="LineNr">513 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L514" class="LineNr">514 </span>  <span class="PreProc">var</span> data/<span class="Constant">edi</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
 <span id="L515" class="LineNr">515 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">eax</span>: (addr int) <span class="Special">&lt;-</span> get self, top
 <span id="L516" class="LineNr">516 </span>  <span class="PreProc">var</span> i/<span class="Constant">ebx</span>: int <span class="Special">&lt;-</span> copy *top-addr
@@ -596,7 +596,7 @@ if ('onhashchange' in window) {
 <span id="L537" class="LineNr">537 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='grapheme-stack.mu.html#L537'>grapheme-stack-is-decimal-integer?</a></span> _self: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>)<span class="PreProc"> -&gt; </span>_/<span class="Constant">eax</span>: boolean <span class="Delimiter">{</span>
 <span id="L538" class="LineNr">538 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special">&lt;-</span> copy _self
 <span id="L539" class="LineNr">539 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">eax</span>: (addr handle array grapheme) <span class="Special">&lt;-</span> get self, data
-<span id="L540" class="LineNr">540 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L226'>lookup</a> *data-ah
+<span id="L540" class="LineNr">540 </span>  <span class="PreProc">var</span> _data/<span class="Constant">eax</span>: (addr array grapheme) <span class="Special">&lt;-</span> <a href='../120allocate.subx.html#L223'>lookup</a> *data-ah
 <span id="L541" class="LineNr">541 </span>  <span class="PreProc">var</span> data/<span class="Constant">edx</span>: (addr array grapheme) <span class="Special">&lt;-</span> copy _data
 <span id="L542" class="LineNr">542 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">ecx</span>: (addr int) <span class="Special">&lt;-</span> get self, top
 <span id="L543" class="LineNr">543 </span>  <span class="PreProc">var</span> i/<span class="Constant">ebx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
@@ -605,7 +605,7 @@ if ('onhashchange' in window) {
 <span id="L546" class="LineNr">546 </span>    compare i, *top-addr
 <span id="L547" class="LineNr">547 </span>    <span class="PreProc">break-if-&gt;=</span>
 <span id="L548" class="LineNr">548 </span>    <span class="PreProc">var</span> g/<span class="Constant">edx</span>: (addr grapheme) <span class="Special">&lt;-</span> index data, i
-<span id="L549" class="LineNr">549 </span>    result <span class="Special">&lt;-</span> <a href='../126write-int-decimal.subx.html#L299'>decimal-digit?</a> *g
+<span id="L549" class="LineNr">549 </span>    result <span class="Special">&lt;-</span> <a href='../126write-int-decimal.subx.html#L296'>decimal-digit?</a> *g
 <span id="L550" class="LineNr">550 </span>    compare result, <span class="Constant">0</span>/false
 <span id="L551" class="LineNr">551 </span>    <span class="PreProc">break-if-=</span>
 <span id="L552" class="LineNr">552 </span>    i <span class="Special">&lt;-</span> increment