summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkitty <nepeta@canaglie.net>2026-02-18 22:18:21 +1100
committerkitty <nepeta@canaglie.net>2026-02-18 22:18:21 +1100
commitd10261ddc242f32e2e0c6b4eb719cb722c9de9e3 (patch)
tree3c1ba2eedd1b2abb5a5dd15740dd629f704d7117
parentcd45fe6705aff60bfa7cf35234087bd43fab778b (diff)
."
-rw-r--r--jefs.fs5
1 files changed, 4 insertions, 1 deletions
diff --git a/jefs.fs b/jefs.fs
index 0999962..8f38805 100644
--- a/jefs.fs
+++ b/jefs.fs
@@ -20,6 +20,10 @@ decimal
: constant create [compile] lit ret, ;
: variable 1 cells allot create [compile] lit ret, ;
+\ TODO interpret mode strings?
+: s" [ char " ] literal >in @ 1 + >in ! ( skip spc ) [compile] litstring ; immediate
+: ." [compile] s" ' say compile, ; immediate \ lol this word breaks the highlighting
+
: begin here @ ; immediate
: again branch here @ 4 + - d, ; immediate \ add 4 to get to beginning of the next instruction
: until 0branch here @ 4 + - d, ; immediate
@@ -30,7 +34,6 @@ 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