1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 16:58:06 +11:00
collapseos/forth
Virgil Dupras e569e40665 Forth-ify 2DUP 2OVER 2SWAP
2DROP was left in boot.z80 because it's used in icore.
2020-04-20 23:18:57 -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.z80 Forth-ify 2DUP 2OVER 2SWAP 2020-04-20 23:18:57 -04:00
cmp.fs parse: use "0<" instead of "0 <" 2020-04-18 09:18:09 -04:00
core.fs Forth-ify 2DUP 2OVER 2SWAP 2020-04-20 23:18: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 link: add "offset" argument to RLDICT 2020-04-19 16:28:40 -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
README.md Move "forth" folder to project's root folder 2020-03-18 22:25:44 -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

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.