gforth
swapforth
Our great sponsors
gforth | swapforth | |
---|---|---|
3 | 1 | |
109 | 234 | |
- | - | |
9.7 | 2.0 | |
18 days ago | 7 months ago | |
Forth | Forth | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gforth
-
Aro: A C compiler written in Zig
For contrast, gforth (a prominent Forth interpreter, by Forth standards) generates+compiles+links binding code in C, at runtime, using the ordinary C toolchain. [0][1][2]
A bit 'out there' you may say, but on the plus side this approach enables handling header files and tidily expressing bindings without the need to implement their own C parser. [2]
[0] GitHub mirror: https://github.com/forthy42/gforth/blob/dda77d851ddeb80ca849...
[1] The official host: https://git.savannah.gnu.org/cgit/gforth.git/tree/libcc.fs
[2] https://rosettacode.org/wiki/Call_a_foreign-language_functio...
-
which forth do you guys use for normal day to day scripting and programming
I use SP-Forth (production), Gforth (testing).
-
A Forth Indirectthreaded Pcode Vms Performance On
Gforth has to take special steps to ensure the OS doesn't prevent the transfer of control over to the dynamically generation instruction sequence.
swapforth
-
The J1 Forth CPU
Also worth checking is the Swapforth Github repository.
What are some alternatives?
elfort - A Forth metacompiler that directly emits an executable binary for x86-64 Linux written in Arkam
subleq - 16-bit SUBLEQ CPU running eForth - just for fun
durexforth - Modern C64 Forth
r3d4 - r3 programing language for 64 bits Windows/Linux/Mac/Rasberry Pi 4
arkam - A Simple Stack VM and Forth
lbForth - Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
miniforth - A bootsector FORTH
r3 - r3 programing language
zeptoforth - A not-so-small forth for Cortex-M