diff options
| author | kitty <nepeta@canaglie.net> | 2026-02-18 22:18:21 +1100 |
|---|---|---|
| committer | kitty <nepeta@canaglie.net> | 2026-02-18 22:18:21 +1100 |
| commit | d10261ddc242f32e2e0c6b4eb719cb722c9de9e3 (patch) | |
| tree | 3c1ba2eedd1b2abb5a5dd15740dd629f704d7117 | |
| parent | cd45fe6705aff60bfa7cf35234087bd43fab778b (diff) | |
."
| -rw-r--r-- | jefs.fs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |
