summaryrefslogtreecommitdiff
path: root/jefs.fs
diff options
context:
space:
mode:
authorkitty <nepeta@canaglie.net>2026-02-18 22:24:32 +1100
committerkitty <nepeta@canaglie.net>2026-02-18 22:24:32 +1100
commit394f37243b3f71822017a94f6ccb39883ad3a11f (patch)
treea0e35f7a9f9525fc42cee257cd130cc4e571f9fa /jefs.fs
parentd10261ddc242f32e2e0c6b4eb719cb722c9de9e3 (diff)
improve s"
Diffstat (limited to 'jefs.fs')
-rw-r--r--jefs.fs4
1 files changed, 3 insertions, 1 deletions
diff --git a/jefs.fs b/jefs.fs
index 8f38805..ff6aa5b 100644
--- a/jefs.fs
+++ b/jefs.fs
@@ -21,7 +21,7 @@ decimal
: variable 1 cells allot create [compile] lit ret, ;
\ TODO interpret mode strings?
-: s" [ char " ] literal >in @ 1 + >in ! ( skip spc ) [compile] litstring ; immediate
+: s" [ char " ] literal 1 >in +! ( skip spc ) [compile] litstring ; immediate
: ." [compile] s" ' say compile, ; immediate \ lol this word breaks the highlighting
: begin here @ ; immediate
@@ -34,6 +34,8 @@ decimal
: / /mod swap drop ;
: mod /mod drop ;
+: t ." testtest" cr ;
: testing 0 if TESTSTR else TESTSTR2 then say cr ;
+t
testing bye