diff options
Diffstat (limited to 'html/lambda-to-mu.mu.html')
-rw-r--r-- | html/lambda-to-mu.mu.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/html/lambda-to-mu.mu.html b/html/lambda-to-mu.mu.html index abe1f4e4..3a15158f 100644 --- a/html/lambda-to-mu.mu.html +++ b/html/lambda-to-mu.mu.html @@ -256,7 +256,7 @@ if ('onhashchange' in window) { <span id="L192" class="LineNr">192 </span> <span class="Delimiter">{</span> <span id="L193" class="LineNr">193 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> pair? <span id="L194" class="LineNr">194 </span> <span class="Conceal">¦</span> <span class="Comment"># atom</span> -<span id="L195" class="LineNr">195 </span> <span class="Conceal">¦</span> buf:&:<a href='061text.mu.html#L127'>buffer</a> <span class="Special"><-</span> <a href='061text.mu.html#L132'>new-buffer</a><span class="Constant"> 30</span> +<span id="L195" class="LineNr">195 </span> <span class="Conceal">¦</span> buf:&:buffer <span class="Special"><-</span> <a href='061text.mu.html#L131'>new-buffer</a><span class="Constant"> 30</span> <span id="L196" class="LineNr">196 </span> <span class="Conceal">¦</span> <span class="Delimiter">{</span> <span id="L197" class="LineNr">197 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> done?:bool <span class="Special"><-</span> <a href='066stream.mu.html#L72'>end-of-stream?</a> in <span id="L198" class="LineNr">198 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> done? @@ -264,13 +264,13 @@ if ('onhashchange' in window) { <span id="L200" class="LineNr">200 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> c:char <span class="Special"><-</span> <a href='066stream.mu.html#L42'>peek</a> in <span id="L201" class="LineNr">201 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> done? <span class="Special"><-</span> equal c, <span class="Constant">41/close-paren</span> <span id="L202" class="LineNr">202 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> done? -<span id="L203" class="LineNr">203 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> done? <span class="Special"><-</span> <a href='061text.mu.html#L620'>space?</a> c +<span id="L203" class="LineNr">203 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> done? <span class="Special"><-</span> <a href='061text.mu.html#L619'>space?</a> c <span id="L204" class="LineNr">204 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> done? <span id="L205" class="LineNr">205 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> c <span class="Special"><-</span> read in <span id="L206" class="LineNr">206 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> buf <span class="Special"><-</span> append buf, c <span id="L207" class="LineNr">207 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span id="L208" class="LineNr">208 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> -<span id="L209" class="LineNr">209 </span> <span class="Conceal">¦</span> s:text <span class="Special"><-</span> <a href='061text.mu.html#L329'>buffer-to-array</a> buf +<span id="L209" class="LineNr">209 </span> <span class="Conceal">¦</span> s:text <span class="Special"><-</span> <a href='061text.mu.html#L328'>buffer-to-array</a> buf <span id="L210" class="LineNr">210 </span> <span class="Conceal">¦</span> out <span class="Special"><-</span> <a href='lambda-to-mu.mu.html#L42'>new-atom</a> s <span id="L211" class="LineNr">211 </span> <span class="Delimiter">}</span> <span id="L212" class="LineNr">212 </span> <span class="Delimiter">{</span> @@ -342,8 +342,8 @@ if ('onhashchange' in window) { <span id="L278" class="LineNr">278 </span> <span class="Conceal">¦</span> done?:bool <span class="Special"><-</span> <a href='066stream.mu.html#L72'>end-of-stream?</a> in <span id="L279" class="LineNr">279 </span> <span class="Conceal">¦</span> <span class="muControl">return-if</span> done?, <span class="Constant">0/null</span> <span id="L280" class="LineNr">280 </span> <span class="Conceal">¦</span> c:char <span class="Special"><-</span> <a href='066stream.mu.html#L42'>peek</a> in -<span id="L281" class="LineNr">281 </span> <span class="Conceal">¦</span> <a href='061text.mu.html#L620'>space?</a>:bool <span class="Special"><-</span> <a href='061text.mu.html#L620'>space?</a> c -<span id="L282" class="LineNr">282 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> <a href='061text.mu.html#L620'>space?</a> +<span id="L281" class="LineNr">281 </span> <span class="Conceal">¦</span> <a href='061text.mu.html#L619'>space?</a>:bool <span class="Special"><-</span> <a href='061text.mu.html#L619'>space?</a> c +<span id="L282" class="LineNr">282 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> <a href='061text.mu.html#L619'>space?</a> <span id="L283" class="LineNr">283 </span> <span class="Conceal">¦</span> read in <span class="Comment"># skip</span> <span id="L284" class="LineNr">284 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span id="L285" class="LineNr">285 </span> <span class="Delimiter">}</span> @@ -352,12 +352,12 @@ if ('onhashchange' in window) { <span id="L288" class="LineNr">288 </span><span class="muRecipe">def</span> to-text x:&:<a href='lambda-to-mu.mu.html#L31'>cell</a><span class="muRecipe"> -> </span>out:text [ <span id="L289" class="LineNr">289 </span> <span class="Constant">local-scope</span> <span id="L290" class="LineNr">290 </span> <span class="Constant">load-ingredients</span> -<span id="L291" class="LineNr">291 </span> buf:&:<a href='061text.mu.html#L127'>buffer</a> <span class="Special"><-</span> <a href='061text.mu.html#L132'>new-buffer</a><span class="Constant"> 30</span> +<span id="L291" class="LineNr">291 </span> buf:&:buffer <span class="Special"><-</span> <a href='061text.mu.html#L131'>new-buffer</a><span class="Constant"> 30</span> <span id="L292" class="LineNr">292 </span> buf <span class="Special"><-</span> to-buffer x, buf -<span id="L293" class="LineNr">293 </span> out <span class="Special"><-</span> <a href='061text.mu.html#L329'>buffer-to-array</a> buf +<span id="L293" class="LineNr">293 </span> out <span class="Special"><-</span> <a href='061text.mu.html#L328'>buffer-to-array</a> buf <span id="L294" class="LineNr">294 </span>] <span id="L295" class="LineNr">295 </span> -<span id="L296" class="LineNr">296 </span><span class="muRecipe">def</span> to-buffer x:&:<a href='lambda-to-mu.mu.html#L31'>cell</a>, buf:&:<a href='061text.mu.html#L127'>buffer</a><span class="muRecipe"> -> </span>buf:&:<a href='061text.mu.html#L127'>buffer</a> [ +<span id="L296" class="LineNr">296 </span><span class="muRecipe">def</span> to-buffer x:&:<a href='lambda-to-mu.mu.html#L31'>cell</a>, buf:&:buffer<span class="muRecipe"> -> </span>buf:&:buffer [ <span id="L297" class="LineNr">297 </span> <span class="Constant">local-scope</span> <span id="L298" class="LineNr">298 </span> <span class="Constant">load-ingredients</span> <span id="L299" class="LineNr">299 </span> <span class="Comment"># base case: empty cell</span> @@ -639,12 +639,12 @@ if ('onhashchange' in window) { <span id="L575" class="LineNr">575 </span><span class="muRecipe">def</span> to-mu in:&:<a href='lambda-to-mu.mu.html#L31'>cell</a><span class="muRecipe"> -> </span>out:text [ <span id="L576" class="LineNr">576 </span> <span class="Constant">local-scope</span> <span id="L577" class="LineNr">577 </span> <span class="Constant">load-ingredients</span> -<span id="L578" class="LineNr">578 </span> buf:&:<a href='061text.mu.html#L127'>buffer</a> <span class="Special"><-</span> <a href='061text.mu.html#L132'>new-buffer</a><span class="Constant"> 30</span> +<span id="L578" class="LineNr">578 </span> buf:&:buffer <span class="Special"><-</span> <a href='061text.mu.html#L131'>new-buffer</a><span class="Constant"> 30</span> <span id="L579" class="LineNr">579 </span> buf <span class="Special"><-</span> to-mu in, buf -<span id="L580" class="LineNr">580 </span> out <span class="Special"><-</span> <a href='061text.mu.html#L329'>buffer-to-array</a> buf +<span id="L580" class="LineNr">580 </span> out <span class="Special"><-</span> <a href='061text.mu.html#L328'>buffer-to-array</a> buf <span id="L581" class="LineNr">581 </span>] <span id="L582" class="LineNr">582 </span> -<span id="L583" class="LineNr">583 </span><span class="muRecipe">def</span> to-mu in:&:<a href='lambda-to-mu.mu.html#L31'>cell</a>, buf:&:<a href='061text.mu.html#L127'>buffer</a><span class="muRecipe"> -> </span>buf:&:<a href='061text.mu.html#L127'>buffer</a>, result-name:text [ +<span id="L583" class="LineNr">583 </span><span class="muRecipe">def</span> to-mu in:&:<a href='lambda-to-mu.mu.html#L31'>cell</a>, buf:&:buffer<span class="muRecipe"> -> </span>buf:&:buffer, result-name:text [ <span id="L584" class="LineNr">584 </span> <span class="Constant">local-scope</span> <span id="L585" class="LineNr">585 </span> <span class="Constant">load-ingredients</span> <span id="L586" class="LineNr">586 </span> <span class="Comment"># null cell? no change.</span> |