diff options
| -rw-r--r-- | readme.md | 5 | ||||
| -rw-r--r-- | sanctuary.fs | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -74,6 +74,9 @@ start compilation of the word 'name'. ### `; ( -- ) IMMEDIATE` end compilation of the currently compiling word. +### `\ ( -- ) IMMEDIATE` +start a comment that lasts until the end of the current line. + ### `@ ( a -- u )` fetch the 64 bit value at memory address a. @@ -206,7 +209,7 @@ true if xt is marked immediate, false otherwise. interprets the contents of the terminal input buffer until it runs out. -### `invert ( u -- u')` +### `invert ( u -- u' )` invert all bytes in u. ### `latest ( -- a )` diff --git a/sanctuary.fs b/sanctuary.fs index a69d973..e40527c 100644 --- a/sanctuary.fs +++ b/sanctuary.fs @@ -1 +1,3 @@ +: \ 10 parse 2drop ; immediate \ test : ( [ char ) ] literal parse 2drop ; immediate ( test ) +bye |
