1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 23:48:05 +11:00
collapseos/forth
Virgil Dupras ca7c21d49f forth: make "(entry)" call WORD itself
Otherwise, when a defining word would be called outside a definition
itself, it would get the name of the last parsed word, that is,
itself!

For example, dummy.fs, instead of creating a "_______" entry, created
a "(entry)" entry...
2020-03-22 22:27:54 -04:00
..
core.fs forth: make "(entry)" call WORD itself 2020-03-22 22:27:54 -04:00
dictionary.txt forth: Forth-ify "CREATE" 2020-03-22 11:49:09 -04:00
dummy.fs forth: make "(entry)" call WORD itself 2020-03-22 22:27:54 -04:00
fmt.fs forth: Forth-ify "ABORT"" 2020-03-21 16:17:51 -04:00
forth.asm forth: make "(entry)" call WORD itself 2020-03-22 22:27:54 -04:00
high.fs forth: forgot to commit high.fs... 2020-03-21 21:22:07 -04:00
parse.fs forth: implement "0b" number parsing 2020-03-19 16:03:35 -04:00
readln.fs forth: make readline skip prompt when appropriate 2020-03-21 14:59:12 -04:00
README.md Move "forth" folder to project's root folder 2020-03-18 22:25:44 -04:00
str.fs forth: implement readline in Forth 2020-03-21 12:57:49 -04:00
z80a.fs forth: make "(entry)" call WORD itself 2020-03-22 22:27:54 -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.