1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-08 23:48:04 +11:00
collapseos/apps/forth
Virgil Dupras e1f815baeb forth: Forth-ify main loop a bit
Add words "COMPILE" and "DROP". The goal is to soon make "DEFINE" immediate
and have it compile from input directly. This whole "main loop compiles
everything and DEFINE picks up compiled atoms" is a bit messy.
2020-03-14 17:48:24 -04:00
..
core.fth forth: replace (fbr?) by SKIP? 2020-03-14 09:23:58 -04:00
dict.asm forth: Forth-ify main loop a bit 2020-03-14 17:48:24 -04:00
dictionary.txt forth: Forth-ify main loop a bit 2020-03-14 17:48:24 -04:00
glue.asm forth: add number literals support 2020-03-07 19:25:55 -05:00
main.asm forth: Forth-ify main loop a bit 2020-03-14 17:48:24 -04:00
README.md apps/forth: new (WIP) application 2020-03-07 12:13:15 -05:00
stack.asm forth: Forth-ify RECURSE 2020-03-13 16:40:55 -04:00
util.asm forth: replace (fbr?) by SKIP? 2020-03-14 09:23:58 -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.