about summary refs log tree commit diff stats
path: root/html/linux/411string.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/linux/411string.mu.html')
-rw-r--r--html/linux/411string.mu.html28
1 files changed, 14 insertions, 14 deletions
diff --git a/html/linux/411string.mu.html b/html/linux/411string.mu.html
index 8062479e..5019a653 100644
--- a/html/linux/411string.mu.html
+++ b/html/linux/411string.mu.html
@@ -15,17 +15,17 @@ body { font-size:12pt; font-family: monospace; color: #000000; background-color:
 a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
 .PreProc { color: #c000c0; }
-.CommentedCode { color: #8a8a8a; }
 .muRegEcx { color: #870000; }
+.Special { color: #ff6060; }
 .LineNr { }
 .muRegEsi { color: #005faf; }
-.muRegEdi { color: #00af00; }
 .Constant { color: #008787; }
+.muRegEdi { color: #00af00; }
+.CommentedCode { color: #8a8a8a; }
+.Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
 .muTest { color: #5f8700; }
-.Delimiter { color: #c000c0; }
 .muComment { color: #005faf; }
-.Special { color: #ff6060; }
 -->
 </style>
 
@@ -61,7 +61,7 @@ if ('onhashchange' in window) {
 <body onload='JumpToLine();'>
 <a href='https://github.com/akkartik/mu/blob/main/linux/411string.mu'>https://github.com/akkartik/mu/blob/main/linux/411string.mu</a>
 <pre id='vimCodeElement'>
-<span id="L1" class="LineNr">  1 </span><span class="muComment"># read up to 'len' graphemes after skipping the first 'start' ones</span>
+<span id="L1" class="LineNr">  1 </span><span class="muComment"># read up to 'len' code-point-utf8s after skipping the first 'start' ones</span>
 <span id="L2" class="LineNr">  2 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='411string.mu.html#L2'>substring</a></span> in: (addr array byte), start: int, len: int, out-ah: (addr handle array byte) <span class="Delimiter">{</span>
 <span id="L3" class="LineNr">  3 </span>  <span class="PreProc">var</span> in-stream: (stream byte <span class="Constant">0x100</span>)
 <span id="L4" class="LineNr">  4 </span>  <span class="PreProc">var</span> in-stream-addr/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address in-stream
@@ -69,29 +69,29 @@ if ('onhashchange' in window) {
 <span id="L6" class="LineNr">  6 </span>  <span class="PreProc">var</span> out-stream: (stream byte <span class="Constant">0x100</span>)
 <span id="L7" class="LineNr">  7 </span>  <span class="PreProc">var</span> out-stream-addr/<span class="muRegEdi">edi</span>: (addr stream byte) <span class="Special">&lt;-</span> address out-stream
 <span id="L8" class="LineNr">  8 </span>  $substring:core: <span class="Delimiter">{</span>
-<span id="L9" class="LineNr">  9 </span>    <span class="muComment"># skip 'start' graphemes</span>
+<span id="L9" class="LineNr">  9 </span>    <span class="muComment"># skip 'start' code-point-utf8s</span>
 <span id="L10" class="LineNr"> 10 </span>    <span class="PreProc">var</span> i/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L11" class="LineNr"> 11 </span>    <span class="Delimiter">{</span>
 <span id="L12" class="LineNr"> 12 </span>      compare i, start
 <span id="L13" class="LineNr"> 13 </span>      <span class="PreProc">break-if-&gt;=</span>
 <span id="L14" class="LineNr"> 14 </span>      <span class="Delimiter">{</span>
-<span id="L15" class="LineNr"> 15 </span>        <span class="PreProc">var</span> dummy/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L158'>read-grapheme</a> in-stream-addr
+<span id="L15" class="LineNr"> 15 </span>        <span class="PreProc">var</span> dummy/eax: code-point-utf8 <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L155'>read-code-point-utf8</a> in-stream-addr
 <span id="L16" class="LineNr"> 16 </span>        compare dummy, <span class="Constant">0xffffffff</span>/end-of-file
 <span id="L17" class="LineNr"> 17 </span>        <span class="PreProc">break-if-=</span> $substring:core
 <span id="L18" class="LineNr"> 18 </span>      <span class="Delimiter">}</span>
 <span id="L19" class="LineNr"> 19 </span>      i <span class="Special">&lt;-</span> increment
 <span id="L20" class="LineNr"> 20 </span>      <span class="PreProc">loop</span>
 <span id="L21" class="LineNr"> 21 </span>    <span class="Delimiter">}</span>
-<span id="L22" class="LineNr"> 22 </span>    <span class="muComment"># copy 'len' graphemes</span>
+<span id="L22" class="LineNr"> 22 </span>    <span class="muComment"># copy 'len' code-point-utf8s</span>
 <span id="L23" class="LineNr"> 23 </span>    i <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L24" class="LineNr"> 24 </span>    <span class="Delimiter">{</span>
 <span id="L25" class="LineNr"> 25 </span>      compare i, len
 <span id="L26" class="LineNr"> 26 </span>      <span class="PreProc">break-if-&gt;=</span>
 <span id="L27" class="LineNr"> 27 </span>      <span class="Delimiter">{</span>
-<span id="L28" class="LineNr"> 28 </span>        <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L158'>read-grapheme</a> in-stream-addr
+<span id="L28" class="LineNr"> 28 </span>        <span class="PreProc">var</span> g/eax: code-point-utf8 <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L155'>read-code-point-utf8</a> in-stream-addr
 <span id="L29" class="LineNr"> 29 </span>        compare g, <span class="Constant">0xffffffff</span>/end-of-file
 <span id="L30" class="LineNr"> 30 </span>        <span class="PreProc">break-if-=</span> $substring:core
-<span id="L31" class="LineNr"> 31 </span>        <a href='403unicode.mu.html#L372'>write-grapheme</a> out-stream-addr, g
+<span id="L31" class="LineNr"> 31 </span>        <a href='403unicode.mu.html#L369'>write-code-point-utf8</a> out-stream-addr, g
 <span id="L32" class="LineNr"> 32 </span>      <span class="Delimiter">}</span>
 <span id="L33" class="LineNr"> 33 </span>      i <span class="Special">&lt;-</span> increment
 <span id="L34" class="LineNr"> 34 </span>      <span class="PreProc">loop</span>
@@ -148,7 +148,7 @@ if ('onhashchange' in window) {
 <span id="L85" class="LineNr"> 85 </span>  <a href='105string-equal.subx.html#L220'>check-strings-equal</a> out, <span class="Constant">&quot;bcde&quot;</span>, <span class="Constant">&quot;F - <a href='411string.mu.html#L40'>test-substring</a>/middle-too-small&quot;</span>
 <span id="L86" class="LineNr"> 86 </span><span class="Delimiter">}</span>
 <span id="L87" class="LineNr"> 87 </span>
-<span id="L88" class="LineNr"> 88 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='411string.mu.html#L88'>split-string</a></span> in: (addr array byte), delim: grapheme, out: (addr handle array (handle array byte)) <span class="Delimiter">{</span>
+<span id="L88" class="LineNr"> 88 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='411string.mu.html#L88'>split-string</a></span> in: (addr array byte), delim: code-point-utf8, out: (addr handle array (handle array byte)) <span class="Delimiter">{</span>
 <span id="L89" class="LineNr"> 89 </span>  <span class="PreProc">var</span> in-stream: (stream byte <span class="Constant">0x100</span>)
 <span id="L90" class="LineNr"> 90 </span>  <span class="PreProc">var</span> in-stream-addr/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address in-stream
 <span id="L91" class="LineNr"> 91 </span>  <a href='108write.subx.html#L24'>write</a> in-stream-addr, in
@@ -157,10 +157,10 @@ if ('onhashchange' in window) {
 <span id="L94" class="LineNr"> 94 </span>  <span class="PreProc">var</span> curr-stream: (stream byte <span class="Constant">0x100</span>)
 <span id="L95" class="LineNr"> 95 </span>  <span class="PreProc">var</span> curr-stream-addr/<span class="muRegEcx">ecx</span>: (addr stream byte) <span class="Special">&lt;-</span> address curr-stream
 <span id="L96" class="LineNr"> 96 </span>  $split-string:core: <span class="Delimiter">{</span>
-<span id="L97" class="LineNr"> 97 </span>    <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L158'>read-grapheme</a> in-stream-addr
+<span id="L97" class="LineNr"> 97 </span>    <span class="PreProc">var</span> g/eax: code-point-utf8 <span class="Special">&lt;-</span> <a href='403unicode.mu.html#L155'>read-code-point-utf8</a> in-stream-addr
 <span id="L98" class="LineNr"> 98 </span>    compare g, <span class="Constant">0xffffffff</span>
 <span id="L99" class="LineNr"> 99 </span>    <span class="PreProc">break-if-=</span>
-<span id="L100" class="LineNr">100 </span><span class="CommentedCode">#?     print-grapheme-to-real-screen g</span>
+<span id="L100" class="LineNr">100 </span><span class="CommentedCode">#?     print-code-point-utf8-to-real-screen g</span>
 <span id="L101" class="LineNr">101 </span><span class="CommentedCode">#?     print-string-to-real-screen &quot;\n&quot;</span>
 <span id="L102" class="LineNr">102 </span>    compare g, delim
 <span id="L103" class="LineNr">103 </span>    <span class="Delimiter">{</span>
@@ -173,7 +173,7 @@ if ('onhashchange' in window) {
 <span id="L110" class="LineNr">110 </span>      <a href='106stream.subx.html#L17'>clear-stream</a> curr-stream-addr
 <span id="L111" class="LineNr">111 </span>      <span class="PreProc">loop</span> $split-string:core
 <span id="L112" class="LineNr">112 </span>    <span class="Delimiter">}</span>
-<span id="L113" class="LineNr">113 </span>    <a href='403unicode.mu.html#L372'>write-grapheme</a> curr-stream-addr, g
+<span id="L113" class="LineNr">113 </span>    <a href='403unicode.mu.html#L369'>write-code-point-utf8</a> curr-stream-addr, g
 <span id="L114" class="LineNr">114 </span>    <span class="PreProc">loop</span>
 <span id="L115" class="LineNr">115 </span>  <span class="Delimiter">}</span>
 <span id="L116" class="LineNr">116 </span>  <a href='310copy-bytes.subx.html#L60'>stream-to-array</a> tokens-stream-addr, out