diff options
Diffstat (limited to 'html/apps/ex2.mu.html')
-rw-r--r-- | html/apps/ex2.mu.html | 18 |
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"> -> </span>result/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> -<span id="L11" class="LineNr">11 </span> result <span class="SpecialChar"><-</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"> -> </span>result/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> -<span id="L15" class="LineNr">15 </span> result <span class="SpecialChar"><-</span> copy a -<span id="L16" class="LineNr">16 </span> result <span class="SpecialChar"><-</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"> -> </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"><-</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"> -> </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"><-</span> copy a +<span id="L17" class="LineNr">17 </span> result <span class="SpecialChar"><-</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> |