about summary refs log tree commit diff stats
path: root/html/edit/004-programming-environment.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-12-03 23:25:40 -0800
committerKartik K. Agaram <vc@akkartik.com>2017-12-03 23:25:40 -0800
commit4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 (patch)
tree85c1b7310cca932797d727a3de8da96eb175d8da /html/edit/004-programming-environment.mu.html
parentef7d834fdd826977cd8d43253052a7b8e1c5aa72 (diff)
downloadmu-4a48bedcd1d708a43d43dc6259a4e45c52ea3d00.tar.gz
4134 - 'input' = 'ingredient'
Diffstat (limited to 'html/edit/004-programming-environment.mu.html')
-rw-r--r--html/edit/004-programming-environment.mu.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/html/edit/004-programming-environment.mu.html b/html/edit/004-programming-environment.mu.html
index 6179ca5e..703e71e6 100644
--- a/html/edit/004-programming-environment.mu.html
+++ b/html/edit/004-programming-environment.mu.html
@@ -83,7 +83,7 @@ if ('onhashchange' in window) {
 <span id="L20" class="LineNr"> 20 </span>
 <span id="L21" class="LineNr"> 21 </span><span class="muRecipe">def</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>:&amp;:<a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, test-sandbox-editor-contents:text<span class="muRecipe"> -&gt; </span>result:&amp;:environment [
 <span id="L22" class="LineNr"> 22 </span>  <span class="Constant">local-scope</span>
-<span id="L23" class="LineNr"> 23 </span>  <span class="Constant">load-ingredients</span>
+<span id="L23" class="LineNr"> 23 </span>  <span class="Constant">load-inputs</span>
 <span id="L24" class="LineNr"> 24 </span>  width:num <span class="Special">&lt;-</span> <a href='../081print.mu.html#L768'>screen-width</a> <a href='../081print.mu.html#L16'>screen</a>
 <span id="L25" class="LineNr"> 25 </span>  result <span class="Special">&lt;-</span> new <span class="Constant">environment:type</span>
 <span id="L26" class="LineNr"> 26 </span>  <span class="Comment"># recipe editor on the left</span>
@@ -101,7 +101,7 @@ if ('onhashchange' in window) {
 <span id="L38" class="LineNr"> 38 </span>
 <span id="L39" class="LineNr"> 39 </span><span class="muRecipe">def</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>:&amp;:<a href='../084console.mu.html#L23'>console</a>, env:&amp;:environment, <a href='../088file.mu.html#L11'>resources</a>:&amp;:<a href='../088file.mu.html#L11'>resources</a><span class="muRecipe"> -&gt; </span><a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>:&amp;:<a href='../084console.mu.html#L23'>console</a>, env:&amp;:environment, <a href='../088file.mu.html#L11'>resources</a>:&amp;:<a href='../088file.mu.html#L11'>resources</a> [
 <span id="L40" class="LineNr"> 40 </span>  <span class="Constant">local-scope</span>
-<span id="L41" class="LineNr"> 41 </span>  <span class="Constant">load-ingredients</span>
+<span id="L41" class="LineNr"> 41 </span>  <span class="Constant">load-inputs</span>
 <span id="L42" class="LineNr"> 42 </span>  recipes:&amp;:editor <span class="Special">&lt;-</span> get *env, <span class="Constant">recipes:offset</span>
 <span id="L43" class="LineNr"> 43 </span>  current-sandbox:&amp;:editor <span class="Special">&lt;-</span> get *env, <span class="Constant">current-sandbox:offset</span>
 <span id="L44" class="LineNr"> 44 </span>  sandbox-in-focus?:bool <span class="Special">&lt;-</span> get *env, <span class="Constant">sandbox-in-focus?:offset</span>
@@ -193,7 +193,7 @@ if ('onhashchange' in window) {
 <span id="L130" class="LineNr">130 </span>
 <span id="L131" class="LineNr">131 </span><span class="muRecipe">def</span> <a href='004-programming-environment.mu.html#L131'>resize</a> <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, env:&amp;:environment<span class="muRecipe"> -&gt; </span>env:&amp;:environment, <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a> [
 <span id="L132" class="LineNr">132 </span>  <span class="Constant">local-scope</span>
-<span id="L133" class="LineNr">133 </span>  <span class="Constant">load-ingredients</span>
+<span id="L133" class="LineNr">133 </span>  <span class="Constant">load-inputs</span>
 <span id="L134" class="LineNr">134 </span>  <a href='../081print.mu.html#L46'>clear-screen</a> <a href='../081print.mu.html#L16'>screen</a>  <span class="Comment"># update screen dimensions</span>
 <span id="L135" class="LineNr">135 </span>  width:num <span class="Special">&lt;-</span> <a href='../081print.mu.html#L768'>screen-width</a> <a href='../081print.mu.html#L16'>screen</a>
 <span id="L136" class="LineNr">136 </span>  divider:num, _ <span class="Special">&lt;-</span> divide-with-remainder width,<span class="Constant"> 2</span>
@@ -220,7 +220,7 @@ if ('onhashchange' in window) {
 <span id="L157" class="LineNr">157 </span><span class="Comment"># off-screen, it resets cursor-row and cursor-column.</span>
 <span id="L158" class="LineNr">158 </span><span class="muRecipe">def</span> <a href='004-programming-environment.mu.html#L158'>render-without-moving-cursor</a> <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, editor:&amp;:editor<span class="muRecipe"> -&gt; </span>last-row:num, last-column:num, <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, editor:&amp;:editor [
 <span id="L159" class="LineNr">159 </span>  <span class="Constant">local-scope</span>
-<span id="L160" class="LineNr">160 </span>  <span class="Constant">load-ingredients</span>
+<span id="L160" class="LineNr">160 </span>  <span class="Constant">load-inputs</span>
 <span id="L161" class="LineNr">161 </span>  <span class="muControl">return-unless</span> editor, <span class="Constant">1/top</span>, <span class="Constant">0/left</span>
 <span id="L162" class="LineNr">162 </span>  left:num <span class="Special">&lt;-</span> get *editor, <span class="Constant">left:offset</span>
 <span id="L163" class="LineNr">163 </span>  <a href='../081print.mu.html#L782'>screen-height</a>:num <span class="Special">&lt;-</span> <a href='../081print.mu.html#L782'>screen-height</a> <a href='../081print.mu.html#L16'>screen</a>
@@ -464,7 +464,7 @@ if ('onhashchange' in window) {
 <span id="L401" class="LineNr">401 </span>
 <span id="L402" class="LineNr">402 </span><span class="muRecipe">def</span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, env:&amp;:environment, render-editor:<a href='004-programming-environment.mu.html#L400'>render-recipe</a><span class="muRecipe"> -&gt; </span><a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, env:&amp;:environment [
 <span id="L403" class="LineNr">403 </span>  <span class="Constant">local-scope</span>
-<span id="L404" class="LineNr">404 </span>  <span class="Constant">load-ingredients</span>
+<span id="L404" class="LineNr">404 </span>  <span class="Constant">load-inputs</span>
 <span id="L405" class="LineNr">405 </span>  trace<span class="Constant"> 10</span>, <span class="Constant">[app]</span>, <span class="Constant">[render all]</span>
 <span id="L406" class="LineNr">406 </span>  <span class="Comment"># top menu</span>
 <span id="L407" class="LineNr">407 </span>  trace<span class="Constant"> 11</span>, <span class="Constant">[app]</span>, <span class="Constant">[render top menu]</span>
@@ -493,7 +493,7 @@ if ('onhashchange' in window) {
 <span id="L430" class="LineNr">430 </span>
 <span id="L431" class="LineNr">431 </span><span class="muRecipe">def</span> <a href='004-programming-environment.mu.html#L431'>render-recipes</a> <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, env:&amp;:environment, render-editor:<a href='004-programming-environment.mu.html#L400'>render-recipe</a><span class="muRecipe"> -&gt; </span><a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, env:&amp;:environment [
 <span id="L432" class="LineNr">432 </span>  <span class="Constant">local-scope</span>
-<span id="L433" class="LineNr">433 </span>  <span class="Constant">load-ingredients</span>
+<span id="L433" class="LineNr">433 </span>  <span class="Constant">load-inputs</span>
 <span id="L434" class="LineNr">434 </span>  trace<span class="Constant"> 11</span>, <span class="Constant">[app]</span>, <span class="Constant">[render recipes]</span>
 <span id="L435" class="LineNr">435 </span>  old-top-idx:num <span class="Special">&lt;-</span> <a href='../081print.mu.html#L509'>save-top-idx</a> <a href='../081print.mu.html#L16'>screen</a>
 <span id="L436" class="LineNr">436 </span>  recipes:&amp;:editor <span class="Special">&lt;-</span> get *env, <span class="Constant">recipes:offset</span>
@@ -515,7 +515,7 @@ if ('onhashchange' in window) {
 <span id="L452" class="LineNr">452 </span><span class="Comment"># replaced in a later layer</span>
 <span id="L453" class="LineNr">453 </span><span class="muRecipe">def</span> render-sandbox-side <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, env:&amp;:environment, render-editor:<a href='004-programming-environment.mu.html#L400'>render-recipe</a><span class="muRecipe"> -&gt; </span><a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, env:&amp;:environment [
 <span id="L454" class="LineNr">454 </span>  <span class="Constant">local-scope</span>
-<span id="L455" class="LineNr">455 </span>  <span class="Constant">load-ingredients</span>
+<span id="L455" class="LineNr">455 </span>  <span class="Constant">load-inputs</span>
 <span id="L456" class="LineNr">456 </span>  trace<span class="Constant"> 11</span>, <span class="Constant">[app]</span>, <span class="Constant">[render sandboxes]</span>
 <span id="L457" class="LineNr">457 </span>  old-top-idx:num <span class="Special">&lt;-</span> <a href='../081print.mu.html#L509'>save-top-idx</a> <a href='../081print.mu.html#L16'>screen</a>
 <span id="L458" class="LineNr">458 </span>  current-sandbox:&amp;:editor <span class="Special">&lt;-</span> get *env, <span class="Constant">current-sandbox:offset</span>
@@ -534,7 +534,7 @@ if ('onhashchange' in window) {
 <span id="L471" class="LineNr">471 </span>
 <span id="L472" class="LineNr">472 </span><span class="muRecipe">def</span> <a href='004-programming-environment.mu.html#L472'>update-cursor</a> <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, recipes:&amp;:editor, current-sandbox:&amp;:editor, sandbox-in-focus?:bool, env:&amp;:environment<span class="muRecipe"> -&gt; </span><a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a> [
 <span id="L473" class="LineNr">473 </span>  <span class="Constant">local-scope</span>
-<span id="L474" class="LineNr">474 </span>  <span class="Constant">load-ingredients</span>
+<span id="L474" class="LineNr">474 </span>  <span class="Constant">load-inputs</span>
 <span id="L475" class="LineNr">475 </span><span class="Constant">  <a href='004-programming-environment.mu.html#L475'>&lt;update-cursor-special-cases&gt;</a></span>
 <span id="L476" class="LineNr">476 </span>  <span class="Delimiter">{</span>
 <span id="L477" class="LineNr">477 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> sandbox-in-focus?
@@ -568,13 +568,13 @@ if ('onhashchange' in window) {
 <span id="L505" class="LineNr">505 </span>
 <span id="L506" class="LineNr">506 </span><span class="muRecipe">def</span> <a href='004-programming-environment.mu.html#L506'>draw-vertical</a> <a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a>, col:num, y:num, bottom:num<span class="muRecipe"> -&gt; </span><a href='../081print.mu.html#L16'>screen</a>:&amp;:<a href='../081print.mu.html#L16'>screen</a> [
 <span id="L507" class="LineNr">507 </span>  <span class="Constant">local-scope</span>
-<span id="L508" class="LineNr">508 </span>  <span class="Constant">load-ingredients</span>
-<span id="L509" class="LineNr">509 </span>  style:char, style-found?:bool <span class="Special">&lt;-</span> <span class="Constant">next-ingredient</span>
+<span id="L508" class="LineNr">508 </span>  <span class="Constant">load-inputs</span>
+<span id="L509" class="LineNr">509 </span>  style:char, style-found?:bool <span class="Special">&lt;-</span> <span class="Constant">next-input</span>
 <span id="L510" class="LineNr">510 </span>  <span class="Delimiter">{</span>
 <span id="L511" class="LineNr">511 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> style-found?
 <span id="L512" class="LineNr">512 </span>  <span class="Conceal">¦</span> style <span class="Special">&lt;-</span> copy <span class="Constant">9474/vertical</span>
 <span id="L513" class="LineNr">513 </span>  <span class="Delimiter">}</span>
-<span id="L514" class="LineNr">514 </span>  color:num, color-found?:bool <span class="Special">&lt;-</span> <span class="Constant">next-ingredient</span>
+<span id="L514" class="LineNr">514 </span>  color:num, color-found?:bool <span class="Special">&lt;-</span> <span class="Constant">next-input</span>
 <span id="L515" class="LineNr">515 </span>  <span class="Delimiter">{</span>
 <span id="L516" class="LineNr">516 </span>  <span class="Conceal">¦</span> <span class="Comment"># default color to white</span>
 <span id="L517" class="LineNr">517 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> color-found?