In the middle of the Eighties of the 20th century there were no affordable Forth computers for me. But I wanted to try this cool programming language urgently! So I had to write an interpreter myself... After an initial version on the Speccy I ported it to the ZX81.
forth_14.zip Archive with programs for ZX81, ZX Spectrum, and source, 7KB.
Even thought it served its purpose, it has some errors. You are welcome to correct and to enhance it! Recognized words are:
:
constant
variable
vlist
forget
dup
drop
swap
over
rot
c@
@
!
.
if, else, then
do, i, loop
mod, /, *
+, -
<, >, =
There is room for 15 new words, each of a maximum of 15 words in them.
Back to my home page.
Comments and such stuff go to: [email protected]