elfort
lbForth
elfort | lbForth | |
---|---|---|
2 | 4 | |
8 | 455 | |
- | 2.6% | |
5.8 | 0.0 | |
almost 3 years ago | about 2 years ago | |
Forth | Forth | |
- | GNU General Public License v3.0 only |
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.
elfort
-
A Forth metacompiler directly emitting executable elf for x86-64 Linux
The metacompiler includes an Elf emitter and inline assembler written in another my Forth on StackVM Arkam.
lbForth
-
Fitting a Forth in 512 bytes (2021)
One compelling use case is getting a REPL on any microcontroller with a UART and, say, ≥64K RAM (I remember lbForth[1] being particularly portable, and there are other implementations you could use as well).
I don’t know if you’d want to have that be your first experience with the Forth itself, though: there’s inherent fiddliness involved in bringing up hardware; the win is that Forth doesn’t really add any of its own. If you can get it to boot and send and receive bytes, you can get an interactive Forth on it—or if available resources don’t permit that, on an imaginary machine spanning it and your PC (“tethered” Forth).
[1] https://github.com/larsbrinkhoff/lbForth
-
What's the simplest language to implement?
Forth compiler in 159 lines of Lisp and C
- lbForth: A self-hosting metacompiled Forth
-
Forth on the XMOS CPU?
Probably what I would do is write a minimal forth interpreter in C, and then use that and a few core words to bootstrap the rest of the system. It is a bit more complex than that, but here is the software which does it.https://github.com/larsbrinkhoff/lbForth
What are some alternatives?
swapforth - Swapforth is a cross-platform ANS Forth
zeptoforth - A not-so-small Forth for Cortex-M
gforth - Gforth mirror on GitHub (original is on Savannah)
Mako - A simple virtual game console
xxdp - XXDP was, and remains, the PDP-11 diagnostic operating system. This project attempts to recover XXDP sources and documents.