diff options
| author | Drahflow <drahflow@gmx.de> | 2014-03-26 00:49:26 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2014-03-26 00:49:26 +0100 |
| commit | 87a65610118849c4180b39803a3494fbeb96f4c8 (patch) | |
| tree | 41c83c061b9536c28ff4e25da8b9c5ddd74cb09c /doc/tutorial.md | |
| parent | 1bc64babd1405bfa70567d576cdef3e45b508b95 (diff) | |
Minor doc corrections
Diffstat (limited to 'doc/tutorial.md')
| -rw-r--r-- | doc/tutorial.md | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index b491939..24615b4 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -21,7 +21,7 @@ This should result in various executables. For the remainder of this tutorial, j as it comes with all libraries preloaded. Start it and enter - "Hello World!" dump + "Hello World!" dump this should yield the obvious result or a bug report to the author. @@ -75,9 +75,9 @@ Strings can contain some escapes using backslash. Function objects ---------------- -Multiple functions (and constants) can be combined into one by enclosing them in braces. -The resulting objects reside on the stack just like all other values. The function `*` -executes such function objects. +Multiple functions (and constants) can be combined into one function by enclosing them +in braces. The resulting objects reside on the stack just like all other values. +The function `*` executes such function objects. { 5 add } dump <function: 00006000005E0360> @@ -102,7 +102,7 @@ Scopes ------ Variables live in scopes which are hierarchically nested. Every scope has a parent scope, -except the topmost and global scope. If a variable is not found in a scope, it's parent is +except the topmost (global) scope. If a variable is not found in a scope, its parent is queried for it. Every function object execution creates a fresh scope, in effect allowing local variables. @@ -161,3 +161,4 @@ Recommended reading order ------------------------- * parsing.md - how the input gets interpreted +* scopes.md - where variables live |
