diff options
| author | kitty <nepeta@canaglie.net> | 2026-03-20 11:50:54 +1100 |
|---|---|---|
| committer | kitty <nepeta@canaglie.net> | 2026-03-20 11:50:54 +1100 |
| commit | e3f99796bc5825f2b2e895960d30cb8c3cce5abd (patch) | |
| tree | 48c51aa95bd920a1563b584fca9936030d8ed898 | |
| parent | 0c19ba3275211d20d954102cddc859222e41ae39 (diff) | |
\ comments
| -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 |
