mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 05:08:05 +11:00
48078d9c9c
There is an alternate git history where I continued the Forth-ification of words, including "SKIP?", but that was a bad idea: because that word was written by flow control immediates, I stepped into quicksands where stability became necessary in z80c.fs and I couldn't gracefully get out of it. I'm stepping back and take this opportunity to replace the shoddy SKIP? algo with a more straightforward (?br) implementation. (br) and (?br) will always stay in boot code where it's easier manage a stable ABI. |
||
---|---|---|
.. | ||
core.fs | ||
dictionary.txt | ||
dummy.fs | ||
fmt.fs | ||
forth.asm | ||
icore.fs | ||
parse.fs | ||
readln.fs | ||
README.md | ||
str.fs | ||
z80a.fs | ||
z80c.fs |
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.