about summary refs log tree commit diff stats
path: root/html/global.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/global.mu.html')
-rw-r--r--html/global.mu.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/html/global.mu.html b/html/global.mu.html
index f94b215c..6e2c0491 100644
--- a/html/global.mu.html
+++ b/html/global.mu.html
@@ -13,9 +13,10 @@
 pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; }
 body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 * { font-size: 1.05em; }
+.muRecipe { color: #ff8700; }
 .Comment { color: #9090ff; }
+.Constant { color: #00a0a0; }
 .Special { color: #ff6060; }
-.Identifier { color: #804000; }
 -->
 </style>
 
@@ -29,17 +30,17 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 <pre id='vimCodeElement'>
 <span class="Comment"># example program: creating and using global variables</span>
 
-recipe main [
+<span class="muRecipe">recipe</span> main [
   <span class="Comment"># allocate 5 locations for globals</span>
-  global-space:address:<span class="Identifier">array</span>:location<span class="Special"> &lt;- </span><span class="Identifier">new</span> location:<span class="Identifier">type</span>, 5
+  <span class="Constant">global-space</span>:address:array:location<span class="Special"> &lt;- </span>new <span class="Constant">location:type</span>, <span class="Constant">5</span>
   <span class="Comment"># read to globals by using /space:global</span>
-  1:number/space:global<span class="Special"> &lt;- </span><span class="Identifier">copy</span> 3
+  <span class="Special">1:number/space:global</span><span class="Special"> &lt;- </span>copy <span class="Constant">3</span>
   foo
 ]
 
-recipe foo [
+<span class="muRecipe">recipe</span> foo [
   <span class="Comment"># ditto for writing to globals</span>
-  $<span class="Identifier">print</span> 1:number/space:global
+  $print <span class="Special">1:number/space:global</span>
 ]
 </pre>
 </body>