3 ms·
I have a reasonably portable pure-ANSI-C Forth here in about 2.5kloc: https://github.com/EtchedPixels/FUZIX/blob/master/Applications/util/fforth.c https://gith
by david-given 10y ago
I have a reasonably portable pure-ANSI-C Forth here in about 2.5kloc:
https://github.com/EtchedPixels/FUZIX/blob/master/Applications/util/fforth.c https://github.com/EtchedPixels/FUZIX/blob/master/Applicatio...
It's not well commented, but it should be easy enough to read. It passes the basic ANS Forth test suite.
The C file is also an exciting self-modifying shell script with embedded awk and Forth parts.