1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-09-07 07:38:48 +10:00
collapseos/forth
Virgil Dupras 48078d9c9c forth: Replace "SKIP?" with "(?br)"
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.
2020-03-29 09:10:23 -04:00
..
core.fs forth: Replace "SKIP?" with "(?br)" 2020-03-29 09:10:23 -04:00
dictionary.txt forth: Replace "SKIP?" with "(?br)" 2020-03-29 09:10:23 -04:00
dummy.fs forth: don't use "(entry)" in dummy.fs 2020-03-27 21:15:16 -04:00
fmt.fs forth: Forth-ify "ABORT"" 2020-03-21 16:17:51 -04:00
forth.asm forth: Replace "SKIP?" with "(?br)" 2020-03-29 09:10:23 -04:00
icore.fs forth: Replace "SKIP?" with "(?br)" 2020-03-29 09:10:23 -04:00
parse.fs forth: Replace "SKIP?" with "(?br)" 2020-03-29 09:10:23 -04:00
readln.fs forth: bring ." and ABORT" down to core.fs level 2020-03-25 20:39:07 -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: Forth-ify "ABORT" 2020-03-28 10:11:52 -04:00
z80c.fs forth: Forth-ify "BYE" 2020-03-28 10:14:27 -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.