1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 19:18:06 +11:00
collapseos/apps/forth
Virgil Dupras 5d5517ac44 forth: allow DEFINE's ";" to be at the start of a newline
Previous to this commit, DEFINE's algo would miss a ";" right after a newline.

This allows for a much nicer formatting+comment of core.fs.
2020-03-16 22:09:23 -04:00
..
core.fs forth: allow DEFINE's ";" to be at the start of a newline 2020-03-16 22:09:23 -04:00
dict.asm forth: allow DEFINE's ";" to be at the start of a newline 2020-03-16 22:09:23 -04:00
dictionary.txt forth: separate COMPILE and [COMPILE] 2020-03-16 21:31:43 -04:00
glue.asm forth: add number literals support 2020-03-07 19:25:55 -05:00
main.asm forth: Simplify execution model 2020-03-15 22:46:17 -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: allow DEFINE's ";" to be at the start of a newline 2020-03-16 22:09:23 -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.