summaryrefslogtreecommitdiff
path: root/jefs.fs
diff options
context:
space:
mode:
authorkitty <nepeta@canaglie.net>2026-02-18 22:13:20 +1100
committerkitty <nepeta@canaglie.net>2026-02-18 22:13:20 +1100
commitcd45fe6705aff60bfa7cf35234087bd43fab778b (patch)
tree28742da69731247ac8dd99cc8a25a9e6aad6d5ef /jefs.fs
parentbdaf2637c5b90469a84346d2d88e9c5b11d252b8 (diff)
litstring + #tib
Diffstat (limited to 'jefs.fs')
-rw-r--r--jefs.fs2
1 files changed, 2 insertions, 0 deletions
diff --git a/jefs.fs b/jefs.fs
index e9c3119..0999962 100644
--- a/jefs.fs
+++ b/jefs.fs
@@ -16,6 +16,7 @@ decimal
: [compile] parse find drop >cfa compile, ; immediate
: ' parse find drop >cfa [compile] lit ; immediate \ note: no error handling (yet)
+: literal [compile] lit ; immediate
: constant create [compile] lit ret, ;
: variable 1 cells allot create [compile] lit ret, ;
@@ -29,6 +30,7 @@ decimal
: / /mod swap drop ;
: mod /mod drop ;
+: s" [ char " ] literal >in @ 1 + >in ! ( skip spc ) [compile] litstring ; immediate
: testing 0 if TESTSTR else TESTSTR2 then say cr ;
testing bye