about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Readme.md6
-rw-r--r--html/factorial.pngbin0 -> 29479 bytes
-rw-r--r--mu.vim2
3 files changed, 4 insertions, 4 deletions
diff --git a/Readme.md b/Readme.md
index 419dfe23..0c69fd83 100644
--- a/Readme.md
+++ b/Readme.md
@@ -79,7 +79,7 @@ compiling.
 
 As a sneak peek, here's how you compute factorial in Mu:
 
-![code example](http://i.imgur.com/QbZMprn.png)
+![code example](html/factorial.png)
 
 Mu functions or 'recipes' are lists of instructions, one to a line. Each
 instruction operates on some *ingredients* and returns some *results*.
@@ -167,7 +167,7 @@ organize your names into spaces. At the start of each function (like
 `factorial` above), set its *default space*:
 
   ```nim
-    default-space:address:array:location <- new location:type, 30:literal
+    new-default-space
   ```
 
 Without this line, all variables in the function will be *global*, something
@@ -245,7 +245,7 @@ inserting code at them.
 
 ```nim
   recipe factorial [
-    default-space:address:array:location <- new location:type, 30:literal
+    new-default-space
     n:number <- next-ingredient
     {
       +base-case:
diff --git a/html/factorial.png b/html/factorial.png
new file mode 100644
index 00000000..a3a1d2bb
--- /dev/null
+++ b/html/factorial.png
Binary files differdiff --git a/mu.vim b/mu.vim
index c5e7eebb..7d43ec9a 100644
--- a/mu.vim
+++ b/mu.vim
@@ -45,7 +45,7 @@ highlight link muNumber Constant
 syntax match muLabel "^\s\+[^ 0-9a-zA-Z{}\[\]][^ ]*\s*$"
 syntax match muLabel %[^ ]\+:label/\?[^ ,]*%
 highlight link muLabel Constant
-syntax keyword muKeyword default-space global-space next-ingredient ingredient | highlight link muKeyword Constant
+syntax keyword muKeyword default-space global-space new-default-space next-ingredient ingredient | highlight link muKeyword Constant
 
 syntax match muDelimiter "[{}]" | highlight link muDelimiter Delimiter
 syntax match muAssign " <- \|\<raw\>" | highlight link muAssign SpecialChar