summaryrefslogtreecommitdiff
path: root/sanctuary.fs
diff options
context:
space:
mode:
Diffstat (limited to 'sanctuary.fs')
-rw-r--r--sanctuary.fs6
1 files changed, 6 insertions, 0 deletions
diff --git a/sanctuary.fs b/sanctuary.fs
index ff4a266..6bdfbfc 100644
--- a/sanctuary.fs
+++ b/sanctuary.fs
@@ -44,6 +44,12 @@
: constant create , does> @ ;
: variable create 1 cells allot ;
+: value parse-name (header) latest ! postpone literal
+ [ hex ] c3 c, [ decimal ] ; \ c3 = RET
+: to ' ( word ) 6 + state @ if postpone literal postpone ! else ! then ; immediate
+: +to ' ( word ) 6 + state @ if postpone literal postpone +! else +! then ; immediate
+: -to ' ( word ) 6 + state @ if postpone literal postpone -! else -! then ; immediate
+
0 constant false
-1 constant true
bye