about summary refs log tree commit diff stats
path: root/html/edit/011-errors.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-06-19 11:29:20 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-06-19 11:29:20 -0700
commit1c2d788b454670bf8fa1cb65c6251a8ff6ddcaf7 (patch)
treefb858c9ac49152af7cfdd956c12870206cc18c72 /html/edit/011-errors.mu.html
parentb755631561fd1a9223effcc833e2c8201582f63d (diff)
downloadmu-1c2d788b454670bf8fa1cb65c6251a8ff6ddcaf7.tar.gz
3927
Diffstat (limited to 'html/edit/011-errors.mu.html')
-rw-r--r--html/edit/011-errors.mu.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/html/edit/011-errors.mu.html b/html/edit/011-errors.mu.html
index b2a56d31..82ed22d1 100644
--- a/html/edit/011-errors.mu.html
+++ b/html/edit/011-errors.mu.html
@@ -72,7 +72,7 @@ if ('onhashchange' in window) {
 <span id="L9" class="LineNr">  9 </span>  <span class="Constant">local-scope</span>
 <span id="L10" class="LineNr"> 10 </span>  <span class="Constant">load-ingredients</span>
 <span id="L11" class="LineNr"> 11 </span>  recipes:&amp;:editor <span class="Special">&lt;-</span> get *env, <span class="Constant">recipes:offset</span>
-<span id="L12" class="LineNr"> 12 </span>  in:text <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L643'>editor-contents</a> recipes
+<span id="L12" class="LineNr"> 12 </span>  in:text <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L642'>editor-contents</a> recipes
 <span id="L13" class="LineNr"> 13 </span>  <a href='../088file.mu.html#L11'>resources</a> <span class="Special">&lt;-</span> <a href='../088file.mu.html#L127'>dump</a> <a href='../088file.mu.html#L11'>resources</a>, <span class="Constant">[lesson/recipes.mu]</span>, in
 <span id="L14" class="LineNr"> 14 </span>  recipe-errors:text <span class="Special">&lt;-</span> reload in
 <span id="L15" class="LineNr"> 15 </span>  *env <span class="Special">&lt;-</span> put *env, <span class="Constant">recipe-errors:offset</span>, recipe-errors
@@ -96,7 +96,7 @@ if ('onhashchange' in window) {
 <span id="L33" class="LineNr"> 33 </span>  <span class="Conceal">¦</span> row:num <span class="Special">&lt;-</span> get *env, <span class="Constant">recipe-bottom:offset</span>
 <span id="L34" class="LineNr"> 34 </span>  <span class="Conceal">¦</span> row, <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L366'>render-text</a> <a href='../081print.mu.html#L4'>screen</a>, recipe-errors, left, right, <span class="Constant">1/red</span>, row
 <span id="L35" class="LineNr"> 35 </span>  <span class="Conceal">¦</span> <span class="Comment"># draw dotted line after recipes</span>
-<span id="L36" class="LineNr"> 36 </span>  <span class="Conceal">¦</span> <a href='002-typing.mu.html#L1060'>draw-horizontal</a> <a href='../081print.mu.html#L4'>screen</a>, row, left, right, <span class="Constant">9480/horizontal-dotted</span>
+<span id="L36" class="LineNr"> 36 </span>  <span class="Conceal">¦</span> <a href='002-typing.mu.html#L1115'>draw-horizontal</a> <a href='../081print.mu.html#L4'>screen</a>, row, left, right, <span class="Constant">9480/horizontal-dotted</span>
 <span id="L37" class="LineNr"> 37 </span>  <span class="Conceal">¦</span> row <span class="Special">&lt;-</span> add row,<span class="Constant"> 1</span>
 <span id="L38" class="LineNr"> 38 </span>  <span class="Conceal">¦</span> <a href='001-editor.mu.html#L207'>clear-screen-from</a> <a href='../081print.mu.html#L4'>screen</a>, row, left, left, right
 <span id="L39" class="LineNr"> 39 </span>  <span class="Delimiter">}</span>
@@ -188,7 +188,7 @@ if ('onhashchange' in window) {
 <span id="L125" class="LineNr">125 </span>  <span class="Conceal">¦</span> ]
 <span id="L126" class="LineNr">126 </span>  ]
 <span id="L127" class="LineNr">127 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L128" class="LineNr">128 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L128" class="LineNr">128 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L129" class="LineNr">129 </span>  screen-should-contain [
 <span id="L130" class="LineNr">130 </span>  <span class="Conceal">¦</span><span class="Constant"> .                                                                                 run (F4)           .</span>
 <span id="L131" class="LineNr">131 </span>  <span class="Conceal">¦</span><span class="Constant"> .recipe foo [                                      ╎foo                                              .</span>
@@ -236,7 +236,7 @@ if ('onhashchange' in window) {
 <span id="L173" class="LineNr">173 </span>  assume-resources [
 <span id="L174" class="LineNr">174 </span>  ]
 <span id="L175" class="LineNr">175 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span>
-<span id="L176" class="LineNr">176 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L176" class="LineNr">176 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L177" class="LineNr">177 </span>  assume-console [
 <span id="L178" class="LineNr">178 </span>  <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 80</span>
 <span id="L179" class="LineNr">179 </span>  <span class="Conceal">¦</span> <span class="Comment"># create invalid sandbox 1</span>
@@ -262,7 +262,7 @@ if ('onhashchange' in window) {
 <span id="L199" class="LineNr">199 </span>  assume-resources [
 <span id="L200" class="LineNr">200 </span>  ]
 <span id="L201" class="LineNr">201 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span>
-<span id="L202" class="LineNr">202 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L202" class="LineNr">202 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L203" class="LineNr">203 </span>  assume-console [
 <span id="L204" class="LineNr">204 </span>  <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 80</span>
 <span id="L205" class="LineNr">205 </span>  <span class="Conceal">¦</span> <span class="Comment"># create invalid sandbox 2</span>
@@ -291,7 +291,7 @@ if ('onhashchange' in window) {
 <span id="L228" class="LineNr">228 </span>  assume-resources [
 <span id="L229" class="LineNr">229 </span>  ]
 <span id="L230" class="LineNr">230 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[get foo, x:offset]</span>  <span class="Comment"># invalid</span>
-<span id="L231" class="LineNr">231 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L231" class="LineNr">231 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L232" class="LineNr">232 </span>  assume-console [
 <span id="L233" class="LineNr">233 </span>  <span class="Conceal">¦</span> press F4  <span class="Comment"># generate error</span>
 <span id="L234" class="LineNr">234 </span>  ]
@@ -334,7 +334,7 @@ if ('onhashchange' in window) {
 <span id="L271" class="LineNr">271 </span>  <span class="Conceal">¦</span> ]
 <span id="L272" class="LineNr">272 </span>  ]
 <span id="L273" class="LineNr">273 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo 2]</span>
-<span id="L274" class="LineNr">274 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L274" class="LineNr">274 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L275" class="LineNr">275 </span>  assume-console [
 <span id="L276" class="LineNr">276 </span>  <span class="Conceal">¦</span> press F4
 <span id="L277" class="LineNr">277 </span>  ]
@@ -388,7 +388,7 @@ if ('onhashchange' in window) {
 <span id="L325" class="LineNr">325 </span>  test-sandbox:text <span class="Special">&lt;-</span> new <span class="Constant">[x:&amp;:<a href='../064list.mu.html#L6'>list</a>:num &lt;- copy 0</span>
 <span id="L326" class="LineNr">326 </span><span class="Constant">to-text x]</span>
 <span id="L327" class="LineNr">327 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, test-sandbox
-<span id="L328" class="LineNr">328 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L328" class="LineNr">328 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L329" class="LineNr">329 </span>  <span class="Comment"># run it once</span>
 <span id="L330" class="LineNr">330 </span>  assume-console [
 <span id="L331" class="LineNr">331 </span>  <span class="Conceal">¦</span> press F4
@@ -451,7 +451,7 @@ if ('onhashchange' in window) {
 <span id="L388" class="LineNr">388 </span>  <span class="Conceal">¦</span> ]
 <span id="L389" class="LineNr">389 </span>  ]
 <span id="L390" class="LineNr">390 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L391" class="LineNr">391 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L391" class="LineNr">391 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L392" class="LineNr">392 </span>  assume-console [
 <span id="L393" class="LineNr">393 </span>  <span class="Conceal">¦</span> press F4
 <span id="L394" class="LineNr">394 </span>  ]
@@ -483,7 +483,7 @@ if ('onhashchange' in window) {
 <span id="L420" class="LineNr">420 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> ]</span>
 <span id="L421" class="LineNr">421 </span>  ]
 <span id="L422" class="LineNr">422 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L423" class="LineNr">423 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L423" class="LineNr">423 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L424" class="LineNr">424 </span>  assume-console [
 <span id="L425" class="LineNr">425 </span>  <span class="Conceal">¦</span> press F4
 <span id="L426" class="LineNr">426 </span>  ]
@@ -515,7 +515,7 @@ if ('onhashchange' in window) {
 <span id="L452" class="LineNr">452 </span>  <span class="Conceal">¦</span> ]
 <span id="L453" class="LineNr">453 </span>  ]
 <span id="L454" class="LineNr">454 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L455" class="LineNr">455 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L455" class="LineNr">455 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L456" class="LineNr">456 </span>  assume-console [
 <span id="L457" class="LineNr">457 </span>  <span class="Conceal">¦</span> press F4
 <span id="L458" class="LineNr">458 </span>  ]
@@ -552,7 +552,7 @@ if ('onhashchange' in window) {
 <span id="L489" class="LineNr">489 </span>  <span class="Conceal">¦</span> ]
 <span id="L490" class="LineNr">490 </span>  ]
 <span id="L491" class="LineNr">491 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L492" class="LineNr">492 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L492" class="LineNr">492 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L493" class="LineNr">493 </span>  assume-console [
 <span id="L494" class="LineNr">494 </span>  <span class="Conceal">¦</span> press F4
 <span id="L495" class="LineNr">495 </span>  ]
@@ -589,7 +589,7 @@ if ('onhashchange' in window) {
 <span id="L526" class="LineNr">526 </span>  <span class="Conceal">¦</span> ]
 <span id="L527" class="LineNr">527 </span>  ]
 <span id="L528" class="LineNr">528 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L529" class="LineNr">529 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L529" class="LineNr">529 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L530" class="LineNr">530 </span>  assume-console [
 <span id="L531" class="LineNr">531 </span>  <span class="Conceal">¦</span> press F4
 <span id="L532" class="LineNr">532 </span>  ]
@@ -635,7 +635,7 @@ if ('onhashchange' in window) {
 <span id="L572" class="LineNr">572 </span>  ]
 <span id="L573" class="LineNr">573 </span>  <span class="Comment"># sandbox editor contains an illegal instruction</span>
 <span id="L574" class="LineNr">574 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[get 1234:num, foo:offset]</span>
-<span id="L575" class="LineNr">575 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L575" class="LineNr">575 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L576" class="LineNr">576 </span>  assume-console [
 <span id="L577" class="LineNr">577 </span>  <span class="Conceal">¦</span> press F4
 <span id="L578" class="LineNr">578 </span>  ]
@@ -698,7 +698,7 @@ if ('onhashchange' in window) {
 <span id="L635" class="LineNr">635 </span>  ]
 <span id="L636" class="LineNr">636 </span>  <span class="Comment"># sandbox editor contains an illegal instruction</span>
 <span id="L637" class="LineNr">637 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[get 1234:num, foo:offset]</span>
-<span id="L638" class="LineNr">638 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L638" class="LineNr">638 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L639" class="LineNr">639 </span>  <span class="Comment"># run the code in the editors multiple times</span>
 <span id="L640" class="LineNr">640 </span>  assume-console [
 <span id="L641" class="LineNr">641 </span>  <span class="Conceal">¦</span> press F4
@@ -737,7 +737,7 @@ if ('onhashchange' in window) {
 <span id="L674" class="LineNr">674 </span>  <span class="Conceal">¦</span> ]
 <span id="L675" class="LineNr">675 </span>  ]
 <span id="L676" class="LineNr">676 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo]</span>
-<span id="L677" class="LineNr">677 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L677" class="LineNr">677 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L678" class="LineNr">678 </span>  <span class="Comment"># run the sandbox</span>
 <span id="L679" class="LineNr">679 </span>  assume-console [
 <span id="L680" class="LineNr">680 </span>  <span class="Conceal">¦</span> press F4
@@ -776,7 +776,7 @@ if ('onhashchange' in window) {
 <span id="L713" class="LineNr">713 </span>  <span class="Conceal">¦</span> ]
 <span id="L714" class="LineNr">714 </span>  ]
 <span id="L715" class="LineNr">715 </span>  env:&amp;:environment <span class="Special">&lt;-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[foo 4, 0]</span>
-<span id="L716" class="LineNr">716 </span>  <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
+<span id="L716" class="LineNr">716 </span>  <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a>
 <span id="L717" class="LineNr">717 </span>  <span class="Comment"># run</span>
 <span id="L718" class="LineNr">718 </span>  assume-console [
 <span id="L719" class="LineNr">719 </span>  <span class="Conceal">¦</span> press F4