1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-26 06:38:06 +11:00
collapseos/apps/forth
Virgil Dupras 03bd9ee39b forth: make readCompWord read from RS' BOS instead of TOS
Previous approach was broken with regards to defined word using CREATE.

Also, reduce name length by one to make space for a new flags field for
"immediate" (which isn't used yet).
2020-03-09 19:50:51 -04:00
..
dict.asm forth: make readCompWord read from RS' BOS instead of TOS 2020-03-09 19:50:51 -04:00
dictionary.txt forth: clarify the meaning of "wordref" 2020-03-09 15:12:44 -04:00
glue.asm forth: add number literals support 2020-03-07 19:25:55 -05:00
main.asm forth: make readCompWord read from RS' BOS instead of TOS 2020-03-09 19:50:51 -04:00
README.md apps/forth: new (WIP) application 2020-03-07 12:13:15 -05:00
stack.asm forth: simplify execution model and handle literals better 2020-03-09 14:14:26 -04:00
util.asm forth: make readCompWord read from RS' BOS instead of TOS 2020-03-09 19:50:51 -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.