gforth
r4
Our great sponsors
gforth | r4 | |
---|---|---|
8 | 5 | |
139 | 121 | |
- | - | |
9.8 | 1.7 | |
6 days ago | 9 months ago | |
Forth | Forth | |
GNU General Public License v3.0 only | MIT 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
-
What forth implementation could be a good pick for writing a texteditor?
I don't know the status of gforth's 'minos2' offering but I see a mention of X11 which is a promising sight for Linux GUI work.
-
Trying to use Forth Foundation Library (FFL) with GForth installed via GNU Guix
See also INSTALL
- Why is the Forth community so split?
-
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).
r4
-
x-in-y lines - Succintly written (<1000 non-obfuscated loc), fully-functional software in any language.
almost all my codes in https://github.com/phreda4/r3 and https://github.com/phreda4/r4 have less 1000 lines, but all forth have code with minimun lines of code
-
r4 Forth
Looking here I think they've made the decision to go with the MIT licence.
-
Share cool Forth programs!
I wrote many programs in r4 (32 bits windows).. see in https://github.com/phreda4/r4
-
which forth do you guys use for normal day to day scripting and programming
r4 is for 32bit https://github.com/phreda4/r4
-
Looking for a simple forth compiler (producing asm/executables, not compiling forth words) to learn from, preferably in C family language
I have a vm in c for my forth, I have a compiler to asm (generate FASM output) but in the same lenguage, really a forth compiler is a simple program, there are a 1:1 correspondence in code genaration and words. here the 32bits source https://github.com/phreda4/r4/blob/master/r4/System/r4i86.txt here the 64bits with some optimizations: https://github.com/phreda4/r3d4/blob/master/r3/sys/r3asm0.r3 I hope this help
What are some alternatives?
elfort - A Forth metacompiler that directly emits an executable binary for x86-64 Linux written in Arkam
zeptoforth - A not-so-small Forth for Cortex-M
swapforth - Swapforth is a cross-platform ANS Forth
miniforth - A bootsector FORTH
r3 - r3 programing language - ColorForth inspired
stoneknifeforth - a tiny self-hosted Forth implementation
arocc - A C compiler written in Zig.
r3d4 - r3 programing language for 64 bits Windows/Linux/Mac/Rasberry Pi 4
TclForth - Multi-platform desktop Forth based on Tcl/Tk
Win32Forth - forth base system
factor - Factor programming language