#gforth — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #gforth, aggregated by home.social.
-
X-87, 256b DOS (386+) VESA 2 640x400 procedural graphics shown at Outline 2026
#x86 sources : https://github.com/grz0zrg/codegolfing/tree/main/DOS/X-87
details : https://www.onirom.fr/wiki/codegolf/x-87/
Works on Bochs + Freedos. Slow render time.
Attached is a #gforth version which was used as an intermediate prototype to produce the x87 FPU code.
-
X-87, 256b DOS (386+) VESA 2 640x400 procedural graphics shown at Outline 2026
#x86 sources : https://github.com/grz0zrg/codegolfing/tree/main/DOS/X-87
details : https://www.onirom.fr/wiki/codegolf/x-87/
Works on Bochs + Freedos. Slow render time.
Attached is a #gforth version which was used as an intermediate prototype to produce the x87 FPU code.
-
X-87, 256b DOS (386+) VESA 2 640x400 procedural graphics shown at Outline 2026
#x86 sources : https://github.com/grz0zrg/codegolfing/tree/main/DOS/X-87
details : https://www.onirom.fr/wiki/codegolf/x-87/
Works on Bochs + Freedos. Slow render time.
Attached is a #gforth version which was used as an intermediate prototype to produce the x87 FPU code.
-
X-87, 256b DOS (386+) VESA 2 640x400 procedural graphics shown at Outline 2026
#x86 sources : https://github.com/grz0zrg/codegolfing/tree/main/DOS/X-87
details : https://www.onirom.fr/wiki/codegolf/x-87/
Works on Bochs + Freedos. Slow render time.
Attached is a #gforth version which was used as an intermediate prototype to produce the x87 FPU code.
-
X-87, 256b DOS (386+) VESA 2 640x400 procedural graphics shown at Outline 2026
#x86 sources : https://github.com/grz0zrg/codegolfing/tree/main/DOS/X-87
details : https://www.onirom.fr/wiki/codegolf/x-87/
Works on Bochs + Freedos. Slow render time.
Attached is a #gforth version which was used as an intermediate prototype to produce the x87 FPU code.
-
Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.
On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.
I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).
-
Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.
On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.
I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).
-
Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.
On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.
I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).
-
Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.
On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.
I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).
-
Had a day off today and used the free time to implement "take", ""drop" and "inv" (inventory) for that #text #adventure #game skeleton I'm occasionally tinkering with.
On the #Commodore64 I use #durexforth, but the same code also works on the #MyNorMy4th and with #gforth and I plan to get it to work on the #Minstrel4d as well.
I still use just a two-word #parser at the moment but I'm already looking into ways of expanding that (will not be as great as Infocom but better than it is now).
-
@xexyl @duke_of_germany
ActuallyLabels As ValuesI hope does become standard; I heard it was created for #gforth Its one of the easier ways to implement Forth. I use it in my post4 interpreter. -
Initially, I was just fooling around, creating code snippets to see how it all may fit together. Quick, dirty hacks you know.
But somehow things got more and more refined and today I was able to test my little two-word #textadventure #game #parser by walking between two rooms.
Written using #gforth but also works with #dxforth on #cpm80
-
Initially, I was just fooling around, creating code snippets to see how it all may fit together. Quick, dirty hacks you know.
But somehow things got more and more refined and today I was able to test my little two-word #textadventure #game #parser by walking between two rooms.
Written using #gforth but also works with #dxforth on #cpm80
-
Initially, I was just fooling around, creating code snippets to see how it all may fit together. Quick, dirty hacks you know.
But somehow things got more and more refined and today I was able to test my little two-word #textadventure #game #parser by walking between two rooms.
Written using #gforth but also works with #dxforth on #cpm80
-
Initially, I was just fooling around, creating code snippets to see how it all may fit together. Quick, dirty hacks you know.
But somehow things got more and more refined and today I was able to test my little two-word #textadventure #game #parser by walking between two rooms.
Written using #gforth but also works with #dxforth on #cpm80
-
Initially, I was just fooling around, creating code snippets to see how it all may fit together. Quick, dirty hacks you know.
But somehow things got more and more refined and today I was able to test my little two-word #textadventure #game #parser by walking between two rooms.
Written using #gforth but also works with #dxforth on #cpm80
-
Back to some code exercises. Technically, you could write a #textadventure game in #Forth using the dictionary and the command prompt. I've seen at least one code snippet following such an approach.
However, I want a "classic" #parser (e.g. TAKE SWORD) and make sure it keeps the user "fenced" inside the game engine.
This means I need arrays of strings to provide lists of words the parser can check the user input against.
So here is some basic research on how to accomplish this in #gforth (also works with #dxforth)
-
Back to some code exercises. Technically, you could write a #textadventure game in #Forth using the dictionary and the command prompt. I've seen at least one code snippet following such an approach.
However, I want a "classic" #parser (e.g. TAKE SWORD) and make sure it keeps the user "fenced" inside the game engine.
This means I need arrays of strings to provide lists of words the parser can check the user input against.
So here is some basic research on how to accomplish this in #gforth (also works with #dxforth)
-
Back to some code exercises. Technically, you could write a #textadventure game in #Forth using the dictionary and the command prompt. I've seen at least one code snippet following such an approach.
However, I want a "classic" #parser (e.g. TAKE SWORD) and make sure it keeps the user "fenced" inside the game engine.
This means I need arrays of strings to provide lists of words the parser can check the user input against.
So here is some basic research on how to accomplish this in #gforth (also works with #dxforth)
-
Back to some code exercises. Technically, you could write a #textadventure game in #Forth using the dictionary and the command prompt. I've seen at least one code snippet following such an approach.
However, I want a "classic" #parser (e.g. TAKE SWORD) and make sure it keeps the user "fenced" inside the game engine.
This means I need arrays of strings to provide lists of words the parser can check the user input against.
So here is some basic research on how to accomplish this in #gforth (also works with #dxforth)
-
Back to some code exercises. Technically, you could write a #textadventure game in #Forth using the dictionary and the command prompt. I've seen at least one code snippet following such an approach.
However, I want a "classic" #parser (e.g. TAKE SWORD) and make sure it keeps the user "fenced" inside the game engine.
This means I need arrays of strings to provide lists of words the parser can check the user input against.
So here is some basic research on how to accomplish this in #gforth (also works with #dxforth)
-
Made a #forth ARMv2 (macro) assembler (tested with #gforth) and took the opportunity to revamp my light #ARM Forth a bit by adding useful words with some light changes :
https://github.com/grz0zrg/ARM-ForthLite/blob/main/examples/ARMv2_assembler.fs
The goal was to have one mnemonic = one word so 90% of the source is a lot of repetition but it looks close to the conventional syntax. (In a postfix way)
Does not require much primitives.
Wrote a small write-up : https://www.onirom.fr/wiki/blog/20-12-2025_writing_an_armv2_assembler_in_forth/
-
A look at #Forth from a #Lisp developer — David Wilson from Systems Crafters takes a look at #GForth:
Forth: A Language Weirder Than Lisp? - System Crafters Live!
https://www.youtube.com/watch?v=X7dSTEJK-uU -
🤯 It looks like I'm in some kind of weird exploratory state of obscure super niche topics. I’ve been reading and testing #forth language (#gforth) all day yesterday, for no reason. Then I decided to check if someone has ported it to another super niche microcontroller - #ch32v003, and it turns out someone has! https://github.com/gravitydiv10/ch32v003-forth on the top of that, the person looks like an #emacs user, judging by the org-mode file in one of their other repos and the posts in the Chinese emacs forums. 🤯
-
So #gForth has been inspired by #VolksForth which is based on #F83 - is this roughly correct?!
-
So #gForth has been inspired by #VolksForth which is based on #F83 - is this roughly correct?!
-
So #gForth has been inspired by #VolksForth which is based on #F83 - is this roughly correct?!
-
So #gForth has been inspired by #VolksForth which is based on #F83 - is this roughly correct?!
-
So #gForth has been inspired by #VolksForth which is based on #F83 - is this roughly correct?!
-
So, in MINOS2 das fractional scaling für Wayland implementiert. Also, eigentlich ist es ja nur „Ich kann HiDPI, fick dich“. Man muss dazu sehr wenig tun: Konversion von und nach fixed um den Skaler-Effekt anpassen, das Protokoll implementieren, mit dem man den Scaling-Faktor bekommt, und einen wp_viewport erzeugen, um dem Compositor zu sagen, wie groß man wirklich ist.
Der komplizierteste Teil dabei war, dass es auch auf alten Distributionen compilieren muss.
-
A footnote from the #Gforth manual:
> This feature is also known as extended records. It is the main innovation in the Oberon language; in other words, adding this feature to Modula-2 led Wirth to create a new language, write a new compiler etc. Adding this feature to Forth just required a few lines of code.
https://gforth.org/manual/Structure-Usage.html#DOCF31
Pascal and Wirth bashing ;-) #Forth #Pascal #programming
-
I’m looking for example code in #Forth (gforth) that is able to call a https REST API and return the resultant payload for further parsing. I’m currently doing a system call to curl with its output into a temp file I then read back in and parse. This would also be useful for future #MQTT work I have in mind. Sockets are builtin but TLS is not supported natively in #GForth that I can determine.
Any pointers to a pure Forth solution is welcome.
-
apperently the way #gforth implements numeric output is really slow.
i managed to almost *half* a programs execution time (multiple seconds faster) just by replacing `u.` with a more specialized word.
i assume the reason for this is gforth just calls into the double-cell version, so has to emulate 128-bit arithmetic instead of using the faster 64-bit version.
granted, most programs aren't going to be calling these functions in their inner loops (i'm generating large netpbm images), but still, half of a program's runtime being spent formatting numbers is not great.
#forth #programming #code -
I just read your gemlog "Programming Forth" and wanted to say that coincidentally, I installed #gforth on my phone and my desktop recently and have been slowtly going through the manual (which has exercises). It reminds me of when I used to program my HP calculator eons ago...
-
The #gforth main webpage has been available for more than one year at
but search engines don't show the page in the first results. We need to do some SEO (also TLS would help the google page rank).
Stuff to do ...
But if you have a webpage with link to one of the older gforth websites, please update to the new. Incoming links will help as well.
-
Breakfast intelligence from Forth Conference in Essen @ #Linuxhotel:
GNU-Forth #gforth release 1.0 is approaching. The Forth related changes to SWIG needs to be accepted and merged upstream first. But hopefully gforth 1.0 will be released this year.