summaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorkitty <nepeta@canaglie.net>2026-03-17 21:55:04 +1100
committerkitty <nepeta@canaglie.net>2026-03-17 21:55:04 +1100
commitb8696a0bcbfcf3a0fee6ffd411b9e1c2dfc75e82 (patch)
tree7da2adbac421d28ea87ba786656d3668ecb7bfc4 /readme.md
parent9594b2fd119e9145fec8b035737fb82e95cedf64 (diff)
seemingly working interpret from jf
nice honestly it might not be a bad idea to add testing *at this point*
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 10ee749..b53648c 100644
--- a/readme.md
+++ b/readme.md
@@ -43,6 +43,9 @@ a variable that contains the first byte of user memory.
### `dp$ ( -- )`
a variable that contains the last available byte of user memory.
+### `dup ( u -- u u )`
+duplicate the value at the top of the stack.
+
### `executable ( a u -- )`
marks the u bytes starting at address a as executable.
this is used primarily to mark the program break,
@@ -60,6 +63,9 @@ grows the user memory space by u bytes.
### `here ( -- a )`
yields the address of the first available byte in user memory.
+### `immediate? ( xt -- ? )`
+true if xt is marked immediate, false otherwise.
+
### `interpret ( -- )`
interprets the contents of the terminal input buffer
until it runs out.