r4
gforth
Our great sponsors
r4 | gforth | |
---|---|---|
5 | 8 | |
121 | 141 | |
- | - | |
1.7 | 9.8 | |
10 months ago | 7 days ago | |
Forth | Forth | |
MIT License | 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.
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
gforth
-
A few questions regarding the language
Not that I've ever seen personally. They mostly exist as extensions in various places. Gforth has one, for example.
-
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
-
Starting Forth [pdf]
\ sh-get is from script.fs: https://github.com/forthy42/gforth/blob/master/script.fs
- 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).
-
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.
What are some alternatives?
r3 - r3 programing language - ColorForth inspired
elfort - A Forth metacompiler that directly emits an executable binary for x86-64 Linux written in Arkam
stoneknifeforth - a tiny self-hosted Forth implementation
zeptoforth - A not-so-small Forth for Cortex-M
able-forth - A Forth-like programming language that targets the AbleVM
swapforth - Swapforth is a cross-platform ANS Forth
r3d4 - r3 programing language for 64 bits Windows/Linux/Mac/Rasberry Pi 4
miniforth - A bootsector FORTH
CAMEL99-ITC - Indirect threaded code version of CAMEL99 Forth for TI-99 computer
arocc - A C compiler written in Zig.