collapseos/forth
Virgil Dupras af39b37dd1 Replace the "> " prompt with the more traditional "ok" one
This is more than cosmetic, it's also highly usable. The presence
or absence of the "ok" message allows us to know whether the command
aborted. Previously, the "> " prompt appeared when the system expected
a prompt in the INTERPRET context, whether the previous command aborted
or not.

Also, this allows us to get rid of that ugly FLAGS global variable.
2020-04-24 12:10:07 -04:00
..
adev.fs Add adev unit 2020-04-12 21:49:20 -04:00
blk.fs Copy boot.z80 to blkfs 2020-04-22 21:19:12 -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 Move "forth" folder to project's root folder 2020-03-18 22:25:44 -04:00

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.