about summary refs log tree commit diff stats
path: root/html/apps/ex15.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/apps/ex15.mu.html')
-rw-r--r--html/apps/ex15.mu.html90
1 files changed, 45 insertions, 45 deletions
diff --git a/html/apps/ex15.mu.html b/html/apps/ex15.mu.html
index 714fbff3..d062c654 100644
--- a/html/apps/ex15.mu.html
+++ b/html/apps/ex15.mu.html
@@ -92,13 +92,13 @@ if ('onhashchange' in window) {
 <span id="L32" class="LineNr"> 32 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x61</span>/a,                       <span class="Constant">0</span>/x <span class="Constant">0</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L33" class="LineNr"> 33 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0300</span>/combining-grave-accent,  <span class="Constant">0</span>/x <span class="Constant">0</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L34" class="LineNr"> 34 </span>
-<span id="L35" class="LineNr"> 35 </span>  <span class="muComment"># below a grapheme with a descender, the accent uglily overlaps</span>
+<span id="L35" class="LineNr"> 35 </span>  <span class="muComment"># below a code-point-utf8 with a descender, the accent uglily overlaps</span>
 <span id="L36" class="LineNr"> 36 </span>  <span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Descender">https://en.wikipedia.org/wiki/Descender</a></span>
 <span id="L37" class="LineNr"> 37 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x67</span>/g,                       <span class="Constant">4</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L38" class="LineNr"> 38 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x61</span>/a,                       <span class="Constant">4</span>/x <span class="Constant">4</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L39" class="LineNr"> 39 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0300</span>/combining-grave-accent,  <span class="Constant">4</span>/x <span class="Constant">4</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L40" class="LineNr"> 40 </span>
-<span id="L41" class="LineNr"> 41 </span>  <span class="muComment"># beside a grapheme with a descender, it becomes more obvious that monowidth fonts can't make baselines line up</span>
+<span id="L41" class="LineNr"> 41 </span>  <span class="muComment"># beside a code-point-utf8 with a descender, it becomes more obvious that monowidth fonts can't make baselines line up</span>
 <span id="L42" class="LineNr"> 42 </span>  <span class="muComment">#   <a href="https://en.wikipedia.org/wiki/Baseline_(typography)">https://en.wikipedia.org/wiki/Baseline_(typography)</a></span>
 <span id="L43" class="LineNr"> 43 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x67</span>/g,                       <span class="Constant">8</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L44" class="LineNr"> 44 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span>    <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a>   <span class="Constant">0x61</span>/a,                       <span class="Constant">9</span>/x <span class="Constant">3</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
@@ -142,70 +142,70 @@ if ('onhashchange' in window) {
 <span id="L82" class="LineNr"> 82 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L19'>draw-code-point-on-real-screen</a> <span class="Constant">0x0915</span>/devanagari-letter-ka, <span class="Constant">0x13</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L83" class="LineNr"> 83 </span>  <span class="PreProc">var</span> dummy/eax: int <span class="Special">&lt;-</span> <a href='../103glyph.subx.html#L31'>overlay-code-point-on-real-screen</a> <span class="Constant">0x0903</span>/devanagari-visarga, <span class="Constant">0x13</span>/x <span class="Constant">9</span>/y, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L84" class="LineNr"> 84 </span>
-<span id="L85" class="LineNr"> 85 </span>  <span class="muComment"># render the same devanagari letters as a single stream of utf-8 graphemes rather than individual code-points.</span>
+<span id="L85" class="LineNr"> 85 </span>  <span class="muComment"># render the same devanagari letters as a single stream of utf-8 code-point-utf8s rather than individual code-points.</span>
 <span id="L86" class="LineNr"> 86 </span>  <span class="PreProc">var</span> text-storage: (stream byte <span class="Constant">0x200</span>)
 <span id="L87" class="LineNr"> 87 </span>  <span class="PreProc">var</span> text/<span class="muRegEsi">esi</span>: (addr stream byte) <span class="Special">&lt;-</span> address text-storage
-<span id="L88" class="LineNr"> 88 </span>  <span class="PreProc">var</span> g/eax: grapheme <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0915</span>/devanagari-letter-ka
-<span id="L89" class="LineNr"> 89 </span>  <span class="PreProc">var</span> ka/<span class="muRegEcx">ecx</span>: grapheme <span class="Special">&lt;-</span> copy g
+<span id="L88" class="LineNr"> 88 </span>  <span class="PreProc">var</span> g/eax: code-point-utf8 <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x0915</span>/devanagari-letter-ka
+<span id="L89" class="LineNr"> 89 </span>  <span class="PreProc">var</span> ka/<span class="muRegEcx">ecx</span>: code-point-utf8 <span class="Special">&lt;-</span> copy g
 <span id="L90" class="LineNr"> 90 </span>  <span class="muComment"># ka</span>
-<span id="L91" class="LineNr"> 91 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
+<span id="L91" class="LineNr"> 91 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
 <span id="L92" class="LineNr"> 92 </span>  <span class="muComment"># kaa</span>
-<span id="L93" class="LineNr"> 93 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L94" class="LineNr"> 94 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x093e</span>/devanagari-vowel-aa
-<span id="L95" class="LineNr"> 95 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L93" class="LineNr"> 93 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L94" class="LineNr"> 94 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x093e</span>/devanagari-vowel-aa
+<span id="L95" class="LineNr"> 95 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L96" class="LineNr"> 96 </span>  <span class="muComment"># ki</span>
-<span id="L97" class="LineNr"> 97 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L98" class="LineNr"> 98 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x093f</span>/devanagari-vowel-i
-<span id="L99" class="LineNr"> 99 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L97" class="LineNr"> 97 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L98" class="LineNr"> 98 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x093f</span>/devanagari-vowel-i
+<span id="L99" class="LineNr"> 99 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L100" class="LineNr">100 </span>  <span class="muComment"># kee</span>
-<span id="L101" class="LineNr">101 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L102" class="LineNr">102 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0940</span>/devanagari-vowel-ii
-<span id="L103" class="LineNr">103 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L101" class="LineNr">101 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L102" class="LineNr">102 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x0940</span>/devanagari-vowel-ii
+<span id="L103" class="LineNr">103 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L104" class="LineNr">104 </span>  <span class="muComment"># ku</span>
-<span id="L105" class="LineNr">105 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L106" class="LineNr">106 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0941</span>/devanagari-vowel-u
-<span id="L107" class="LineNr">107 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L105" class="LineNr">105 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L106" class="LineNr">106 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x0941</span>/devanagari-vowel-u
+<span id="L107" class="LineNr">107 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L108" class="LineNr">108 </span>  <span class="muComment"># koo</span>
-<span id="L109" class="LineNr">109 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L110" class="LineNr">110 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0942</span>/devanagari-vowel-oo
-<span id="L111" class="LineNr">111 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L109" class="LineNr">109 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L110" class="LineNr">110 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x0942</span>/devanagari-vowel-oo
+<span id="L111" class="LineNr">111 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L112" class="LineNr">112 </span>  <span class="muComment"># kay</span>
-<span id="L113" class="LineNr">113 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L114" class="LineNr">114 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0947</span>/devanagari-vowel-E
-<span id="L115" class="LineNr">115 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L113" class="LineNr">113 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L114" class="LineNr">114 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x0947</span>/devanagari-vowel-E
+<span id="L115" class="LineNr">115 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L116" class="LineNr">116 </span>  <span class="muComment"># kai</span>
-<span id="L117" class="LineNr">117 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L118" class="LineNr">118 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0948</span>/devanagari-vowel-ai
-<span id="L119" class="LineNr">119 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L117" class="LineNr">117 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L118" class="LineNr">118 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x0948</span>/devanagari-vowel-ai
+<span id="L119" class="LineNr">119 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L120" class="LineNr">120 </span>  <span class="muComment"># ko</span>
-<span id="L121" class="LineNr">121 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L122" class="LineNr">122 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x094b</span>/devanagari-vowel-o
-<span id="L123" class="LineNr">123 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L121" class="LineNr">121 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L122" class="LineNr">122 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x094b</span>/devanagari-vowel-o
+<span id="L123" class="LineNr">123 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L124" class="LineNr">124 </span>  <span class="muComment"># kow</span>
-<span id="L125" class="LineNr">125 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L126" class="LineNr">126 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x094f</span>/devanagari-vowel-aw
-<span id="L127" class="LineNr">127 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L125" class="LineNr">125 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L126" class="LineNr">126 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x094f</span>/devanagari-vowel-aw
+<span id="L127" class="LineNr">127 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L128" class="LineNr">128 </span>  <span class="muComment"># kan</span>
-<span id="L129" class="LineNr">129 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L130" class="LineNr">130 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0902</span>/devanagari-anusvara
-<span id="L131" class="LineNr">131 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L129" class="LineNr">129 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L130" class="LineNr">130 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x0902</span>/devanagari-anusvara
+<span id="L131" class="LineNr">131 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L132" class="LineNr">132 </span>  <span class="muComment"># kaha</span>
-<span id="L133" class="LineNr">133 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, ka
-<span id="L134" class="LineNr">134 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L104'>to-grapheme</a> <span class="Constant">0x0903</span>/devanagari-visarga
-<span id="L135" class="LineNr">135 </span>  <a href='../403unicode.mu.html#L339'>write-grapheme</a> text, g
+<span id="L133" class="LineNr">133 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, ka
+<span id="L134" class="LineNr">134 </span>  g <span class="Special">&lt;-</span> <a href='../403unicode.mu.html#L97'>to-utf8</a> <span class="Constant">0x0903</span>/devanagari-visarga
+<span id="L135" class="LineNr">135 </span>  <a href='../403unicode.mu.html#L389'>write-code-point-utf8</a> text, g
 <span id="L136" class="LineNr">136 </span>  <span class="muComment"># render everything</span>
 <span id="L137" class="LineNr">137 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">4</span>/x <span class="Constant">0xe</span>/y
-<span id="L138" class="LineNr">138 </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#L16'>screen</a>, text, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L138" class="LineNr">138 </span>  <a href='../501draw-text.mu.html#L288'>draw-stream-wrapping-right-then-down-from-cursor-over-full-screen</a> <a href='../500fake-screen.mu.html#L16'>screen</a>, text, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L139" class="LineNr">139 </span>
-<span id="L140" class="LineNr">140 </span>  <span class="muComment"># a stream of tamil graphemes (with interspersed spaces for clarity) that don't look the same in Mu</span>
+<span id="L140" class="LineNr">140 </span>  <span class="muComment"># a stream of tamil code-point-utf8s (with interspersed spaces for clarity) that don't look the same in Mu</span>
 <span id="L141" class="LineNr">141 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <span class="Constant">0</span>, <span class="Constant">4</span>/x <span class="Constant">0x12</span>/y
-<span id="L142" class="LineNr">142 </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>, <span class="Constant">&quot;எ ஃ கு &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L142" class="LineNr">142 </span>  <a href='../501draw-text.mu.html#L332'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>, <span class="Constant">&quot;எ ஃ கு &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L143" class="LineNr">143 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <span class="Constant">0</span>, <span class="Constant">4</span>/x <span class="Constant">0x13</span>/y
-<span id="L144" class="LineNr">144 </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>, <span class="Constant">&quot;அ ன் று &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L144" class="LineNr">144 </span>  <a href='../501draw-text.mu.html#L332'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>, <span class="Constant">&quot;அ ன் று &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L145" class="LineNr">145 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <span class="Constant">0</span>, <span class="Constant">4</span>/x <span class="Constant">0x14</span>/y
-<span id="L146" class="LineNr">146 </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>, <span class="Constant">&quot;அ தா வ து &quot;</span> , <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L146" class="LineNr">146 </span>  <a href='../501draw-text.mu.html#L332'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>, <span class="Constant">&quot;அ தா வ து &quot;</span> , <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L147" class="LineNr">147 </span>  <a href='../500fake-screen.mu.html#L269'>set-cursor-position</a> <span class="Constant">0</span>, <span class="Constant">4</span>/x <span class="Constant">0x15</span>/y
-<span id="L148" class="LineNr">148 </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>, <span class="Constant">&quot;அ ஃ தா ன் று &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
+<span id="L148" class="LineNr">148 </span>  <a href='../501draw-text.mu.html#L332'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> <span class="Constant">0</span>, <span class="Constant">&quot;அ ஃ தா ன் று &quot;</span>, <span class="Constant">3</span>/fg <span class="Constant">0</span>/bg
 <span id="L149" class="LineNr">149 </span><span class="Delimiter">}</span>
 </pre>
 </body>