collapseos/forth
Virgil Dupras b062a9092a parse: use "0<" instead of "0 <"
As I wrote in my "Clarify signed-ness" commit, "0 <" is broken.

Also, made this unit a bit more compact. The RC2014 stage1 can
really use some breathing room...
2020-04-18 09:18:09 -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 blk: add dirty flag and auto write blocks on fetch 2020-04-16 20:59:20 -04:00
boot.fs boot: compaction 2020-04-15 20:57:46 -04:00
cmp.fs parse: use "0<" instead of "0 <" 2020-04-18 09:18:09 -04:00
core.fs Add word LEAVE 2020-04-18 08:37:57 -04:00
fmt.fs parse: use "0<" instead of "0 <" 2020-04-18 09:18:09 -04:00
icore.fs parse: use "0<" instead of "0 <" 2020-04-18 09:18:09 -04:00
link.fs recipes/rc2014: stage1 is too big! saving some space 2020-04-17 21:10:48 -04:00
parse.fs parse: use "0<" instead of "0 <" 2020-04-18 09:18:09 -04:00
print.fs Add word "C@+" 2020-04-16 18:58:11 -04:00
readln.fs Add words 1+ 2+ 1- 2- and consts 0 1 -1 2020-04-15 21:29:39 -04:00
str.fs Add word "C@+" 2020-04-16 18:58:11 -04:00
xcomp.fs Make word routine refs 1b instead of 2 2020-04-15 15:16:11 -04:00
z80a.fs Add words 1+ 2+ 1- 2- and consts 0 1 -1 2020-04-15 21:29:39 -04:00
z80c.fs Add words 1+ 2+ 1- 2- and consts 0 1 -1 2020-04-15 21:29:39 -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.