This Forth system is based on an old fig-Forth derivative for Zilog Z80.
I did some modifications I liked:
- Don't mark end of word name with
+0x80
. You can use Unicode in word names if you like. It's (still) case sensitive unlike most of Forth systems. - All words are lowercase. I find it more aesthetically pleasing.
- Compiled by the standard GNU Assembler.
- Python is used as a macro generator. It can generate assembly from word definitions like
word("FIRST:first", ": ufirst @ ;s")
, which makes reading and modyfiying source code easier. - With Python used for generating word definitions it's possible to generate graph of dependencies between words.
- Cleanup of hacks for defining vocabularies that were used in the Forth system on which it's based. Now
forth
is the last word and its copied to RAM, socurrent
address can change witin it. - More standard
words
instead ofVLIST
. Addedvocs
. - Restore fig-Forth
create
and<builds
. - Simpler
sp!
andrp!
.
RAM image has base address 0x8400
and can be loaded by SCM or HLOAD enabled BASIC for RC2014.