about summary refs log tree commit diff stats
path: root/html/apps/ex2.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-02 21:24:53 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-02 21:24:53 -0800
commit3d1c4216ede8c628558c9fe700fb2be1aa08b473 (patch)
tree9d566827573d2b329a4872762c025a646fe2729d /html/apps/ex2.mu.html
parent571ad49190f17272bd7665ba09b5f14c86b1e649 (diff)
downloadmu-3d1c4216ede8c628558c9fe700fb2be1aa08b473.tar.gz
7162
Diffstat (limited to 'html/apps/ex2.mu.html')
-rw-r--r--html/apps/ex2.mu.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/html/apps/ex2.mu.html b/html/apps/ex2.mu.html
index ef0838f8..faa89af6 100644
--- a/html/apps/ex2.mu.html
+++ b/html/apps/ex2.mu.html
@@ -65,14 +65,16 @@ if ('onhashchange' in window) {
 <span id="L7" class="LineNr"> 7 </span><span class="muComment">#   $ echo $?</span>
 <span id="L8" class="LineNr"> 8 </span><span class="muComment">#   7</span>
 <span id="L9" class="LineNr"> 9 </span>
-<span id="L10" class="LineNr">10 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex2.mu.html#L10'>main</a></span><span class="PreProc"> -&gt; </span>result/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span>
-<span id="L11" class="LineNr">11 </span>  result <span class="SpecialChar">&lt;-</span> <a href='ex2.mu.html#L14'>do-add</a> <span class="Constant">3</span> <span class="Constant">4</span>
-<span id="L12" class="LineNr">12 </span><span class="Delimiter">}</span>
-<span id="L13" class="LineNr">13 </span>
-<span id="L14" class="LineNr">14 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex2.mu.html#L14'>do-add</a></span> a: int, b: int<span class="PreProc"> -&gt; </span>result/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span>
-<span id="L15" class="LineNr">15 </span>  result <span class="SpecialChar">&lt;-</span> copy a
-<span id="L16" class="LineNr">16 </span>  result <span class="SpecialChar">&lt;-</span> add b
-<span id="L17" class="LineNr">17 </span><span class="Delimiter">}</span>
+<span id="L10" class="LineNr">10 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex2.mu.html#L10'>main</a></span><span class="PreProc"> -&gt; </span>_/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span>
+<span id="L11" class="LineNr">11 </span>  <span class="PreProc">var</span> result/<span class="Constant">eax</span>: int <span class="SpecialChar">&lt;-</span> <a href='ex2.mu.html#L15'>do-add</a> <span class="Constant">3</span> <span class="Constant">4</span>
+<span id="L12" class="LineNr">12 </span>  <span class="PreProc">return</span> result
+<span id="L13" class="LineNr">13 </span><span class="Delimiter">}</span>
+<span id="L14" class="LineNr">14 </span>
+<span id="L15" class="LineNr">15 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex2.mu.html#L15'>do-add</a></span> a: int, b: int<span class="PreProc"> -&gt; </span>_/<span class="Constant">eax</span>: int <span class="Delimiter">{</span>
+<span id="L16" class="LineNr">16 </span>  <span class="PreProc">var</span> result/<span class="Constant">ebx</span>: int <span class="SpecialChar">&lt;-</span> copy a
+<span id="L17" class="LineNr">17 </span>  result <span class="SpecialChar">&lt;-</span> add b
+<span id="L18" class="LineNr">18 </span>  <span class="PreProc">return</span> result
+<span id="L19" class="LineNr">19 </span><span class="Delimiter">}</span>
 </pre>
 </body>
 </html>