mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-08 17:48:06 +11:00
a8e573c84a
Big one. This allows us to write higher order words directly in Forth, which is much more convenient than writing post-immediate (see "NOT" structure in diff if you want to see what I mean) structures in ASM. These structures can then be written to ROM (rather than loaded in RAM for definitions loaded at run-time). That's quite a bit of tooling that was added, 2 compilations stages, but I think it's well worth it. |
||
---|---|---|
.. | ||
core.fth | ||
dict.asm | ||
dictionary.txt | ||
glue.asm | ||
main.asm | ||
README.md | ||
stack.asm | ||
util.asm |
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.