3 ms·
What resources would you recommend for getting started with Forth?
by jessaustin 10y ago
What resources would you recommend for getting started with Forth?
- mbroncano 10y agoThis is a more interesting question that it might seem. For a Sunday afternoon read, please take a look to Jonesforth [1] for an implementation of a basic Forth for Linux/32 bits. It's written in literate style and it reads like a nice book. If you are not that interested in the implementation of the compiler (and if so you might be missing the ultimate point of Forth), Starting Forth [2] is a classic resource. Edit: formatting [1] https://github.com/AlexandreAbreu/jonesforth https://github.com/AlexandreAbreu/jonesforth [2] https://www.forth.com/starting-forth/ https://www.forth.com/starting-forth/
- tluyben2 10y agoCharles Moore Thinking Forth is excellent if you want to work with resource limited systems.
- astrobe_ 10y agoThe author of Thinking Forth is Leo Brodie. From Chuck Moore, the father of Forth, "1X Forth" ( http://www.ultratechnology.com/1xforth.htm http://www.ultratechnology.com/1xforth.htm ) is worth reading before and after Thinking Forth.
- tluyben2 10y agoYou are absolutely right. Got my authors mixed up. Both are great reads.
- david-given 10y agoI 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.