about summary refs log tree commit diff stats
path: root/html/fork.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-07 10:37:27 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-07 10:37:27 -0700
commitf5465e1220d73e237c51897b7d1211ec53b0dc04 (patch)
tree939ee8e57241b8515aede8106c6420e330ace75a /html/fork.mu.html
parent5ccf2653fb7d31b013f77df4e92e964e45c54f8a (diff)
downloadmu-f5465e1220d73e237c51897b7d1211ec53b0dc04.tar.gz
2177
Diffstat (limited to 'html/fork.mu.html')
-rw-r--r--html/fork.mu.html27
1 files changed, 15 insertions, 12 deletions
diff --git a/html/fork.mu.html b/html/fork.mu.html
index b75cceac..09d02860 100644
--- a/html/fork.mu.html
+++ b/html/fork.mu.html
@@ -13,8 +13,11 @@
 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; }
-.Identifier { color: #804000; }
+.Constant { color: #00a0a0; }
+.Delimiter { color: #a04060; }
+.muControl { color: #c0a020; }
 -->
 </style>
 
@@ -28,19 +31,19 @@ body { font-family: monospace; color: #eeeeee; background-color: #080808; }
 <pre id='vimCodeElement'>
 <span class="Comment"># example program: running multiple routines</span>
 
-recipe main [
-  start-running thread2:recipe
-  {
-    $<span class="Identifier">print</span> 34
-    loop
-  }
+<span class="muRecipe">recipe</span> main [
+  start-running <span class="Constant">thread2:recipe</span>
+  <span class="Delimiter">{</span>
+    $print <span class="Constant">34</span>
+    <span class="muControl">loop</span>
+  <span class="Delimiter">}</span>
 ]
 
-recipe thread2 [
-  {
-    $<span class="Identifier">print</span> 35
-    loop
-  }
+<span class="muRecipe">recipe</span> thread2 [
+  <span class="Delimiter">{</span>
+    $print <span class="Constant">35</span>
+    <span class="muControl">loop</span>
+  <span class="Delimiter">}</span>
 ]
 </pre>
 </body>