collapseos/forth
Virgil Dupras 816563e2e3 Stop LOADing on ABORT
This is done by adding a "C<* override" layer that is reset to 0 on
ABORT.

The problem was that when ABORT happened during a LOAD, we had a
resetted RSP and started from a clean INTERPRET, but LOAD didn't
have the opportunity to restore C<*, which caused it to continue
interpreting from the faulty BLK.

With a C<* override, we don't need to *restore* C<*, we just need to
clear the override.
2020-04-24 14:10:40 -04:00
..
README.md Move "forth" folder to project's root folder 2020-03-18 22:25:44 -04:00
adev.fs Add adev unit 2020-04-12 21:49:20 -04:00
blk.fs Stop LOADing on ABORT 2020-04-24 14:10:40 -04:00
cmp.fs parse: use "0<" instead of "0 <" 2020-04-18 09:18:09 -04:00
core.fs Replace the "> " prompt with the more traditional "ok" one 2020-04-24 12:10:07 -04:00
fmt.fs parse: use "0<" instead of "0 <" 2020-04-18 09:18:09 -04:00
link.fs link: add "offset" argument to RLDICT 2020-04-19 16:28:40 -04:00
parse.fs parse: don't validate 0x and 0b lengths 2020-04-21 20:40:23 -04:00
print.fs Replace the "> " prompt with the more traditional "ok" one 2020-04-24 12:10:07 -04:00
readln.fs Replace the "> " prompt with the more traditional "ok" one 2020-04-24 12:10:07 -04:00

README.md

Forth

WIP A Forth interpreter. Far from complete, but you can do stuff like

KEY EMIT KEY EMIT

See dictionary.txt for a word reference.