gforth
factor
Our great sponsors
gforth | factor | |
---|---|---|
8 | 58 | |
141 | 1,580 | |
- | 0.8% | |
9.8 | 9.8 | |
1 day ago | 3 days ago | |
Forth | Factor | |
GNU General Public License v3.0 only | BSD 2-clause "Simplified" 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
-
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.
factor
-
My history with Forth, and stack machines
My impression so far is (in general), Forth are practically limited to doing embedded/microcontroller development.
For us, web/mobile/desktop app devs, beside:
- 8th (https://8th-dev.com)
- Factor (https://factorcode.org)
Any suggestion which implementation we should look for?
- Forth: The programming language that writes itself: The Web Page
- Retro: A Modern, Pragmatic Forth
-
Pharo 11, the pure object-oriented language and environment is released!
Factor is also very much worth a look. Forth-style syntax, but with many of the ideas from CL and Smalltalk as well. In fact as a CL fan, I was very impressed by it. It's also quite "batteries included" a la Python.
-
The toki pona of programming.
Otherwise, and more seriously, I'm not completely sure variables are needed. Factor is quite usable (it's my favorite go-to language if I quickly need to script something), and mostly doesn't have them.
- Forth as an intermediate language
-
A Dynamic Forth Compiler for WebAssembly
There's a note on the page from 2022-08-19, that a lot has been added to it. It also links to the github page[1] for the up-to-date changes.
I am a Lisp, April, APL/J/BQE, and Forth[2] aficionado. I did some file munging programs in Factor back in 2012 at my job to sort through theater attendance logs in Word to compile statistics.
-
What the hell is Forth? (2019)
Is there any "battery-included" ANS Forth (more or less like Python/Go) which provides access to concurrency, networking, database, GUI, etc?
Not an embedded device programmer, but mostly deals with frontend apps, and occasionally backend, so those are very relevant to me.
Or perhaps use "non-traditional" Forths like 8th (https://8th-dev.com) or Factor (https://factorcode.org)?
-
-🎄- 2022 Day 2 Solutions -🎄-
Here's my day two solution using Factor
-
-🎄- 2022 Day 1 Solutions -🎄-
Factor:
What are some alternatives?
zeptoforth - A not-so-small Forth for Cortex-M
jonesforth - Mirror of JONESFORTH
elfort - A Forth metacompiler that directly emits an executable binary for x86-64 Linux written in Arkam
durexforth - Modern C64 Forth
swapforth - Swapforth is a cross-platform ANS Forth
bondi - source code for the bondi programming language
miniforth - A bootsector FORTH
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
arocc - A C compiler written in Zig.
Raylib-CsLo - autogen bindings to Raylib 4.x and convenience wrappers on top. Requires use of `unsafe`
r3 - r3 programing language - ColorForth inspired
batteries-included - Batteries Included project