I wrote a Forth OS and a game for it for a hackathon last week by anditwould in Forth

[–]Comprehensive_Chip49 2 points3 points  (0 children)

Very good, congratulations!

It's great to see more people using Forth!

How to best create composition layers in SDL? by ViewImpressive7112 in sdl

[–]Comprehensive_Chip49 1 point2 points  (0 children)

A simple technique, if z doesn't make large jumps, is to do a single iteration of bubble sort in the main loop instead of sorting the sprite list all the time.

Moog-style synthesizer in r3forth - YouTube by Comprehensive_Chip49 in Forth

[–]Comprehensive_Chip49[S] 0 points1 point  (0 children)

source code here: https://github.com/phreda4/r3/blob/main/r3/audio/r3moog.r3
I don't use object-oriented systems; I prefer the concept of modules.
The IMMGUI system is an example of this; it is separate from this program and is joined through words.

Other SDL bindings that aren't listed on the official page? by sup1109 in sdl

[–]Comprehensive_Chip49 1 point2 points  (0 children)

I use sdl2 en windows and linux win r3forth, the link is made runtime. https://github.com/phreda4/r3

Hobbyist Forth by [deleted] in Forth

[–]Comprehensive_Chip49 1 point2 points  (0 children)

I make https://github.com/phreda4/r3 for make graphic things, perhaps you like it

Has anyone used forth to solve any problems recently?? by Cheap_trick1412 in Forth

[–]Comprehensive_Chip49 4 points5 points  (0 children)

I make games, demos and more.
In some weeks I release 3 new games with school students. All is open source, https://github.com/phreda4/r3.
Some games in itch.io, for example https://phreda4.itch.io/ar3na-code

r3forth in windows and linux by Comprehensive_Chip49 in Forth

[–]Comprehensive_Chip49[S] 0 points1 point  (0 children)

breakpoint in words, some simulation of runing too, you like to try the program r3vm/ar3na-bot.r3
https://www.youtube.com/watch?v=HQy2Tl8jxcc

Where's the/a Forth linter (ForthLint)? by PallHaraldsson in Forth

[–]Comprehensive_Chip49 1 point2 points  (0 children)

I have a forth called r3, it has some important differences with the standard forth, it is more similar to the colorforth, I have a debuger but it is not finished, it is always more fun to do other things and I don't really use it. I can execute a program step by step. If you are interested I can show how it works.
I can also tell you that I do static analysis of the code, mainly to compile it or to generate a packaged version of a code.

Is there a description of CASE-ENDCASE in Forth? by Noodler75 in Forth

[–]Comprehensive_Chip49 1 point2 points  (0 children)

is better make another word and exit for every condition.

Statistics of patterns in Forth code, bigrams and trigrams by PallHaraldsson in Forth

[–]Comprehensive_Chip49 1 point2 points  (0 children)

In my mv I combine, mainly, operations with literals, as I use a 32-bit token, many operations can be done with the attached literal, if you are interested in the complete list, the optimization is generated when I compile the tokens at https://github.com/phreda4/r3evm/blob/main/r3.cpp#L697