Archimage
Archimage

I’ve been working on loops in my FORTH implementation. Getting there, but probably not the best implementation.

#forth #programming

|
Embed
Progress spinner
sod
sod

@Archimage Ahh, Forth, what a lovely little language that is. 🥰 Writing my own is still on my someday maybe list.

|
Embed
Progress spinner
In reply to
Archimage
Archimage

@sod It’s actually not all that hard. The messiest bit is memory since most languages nowadays don’t let you manipulate memory and addresses. So, I’m simulating memory, which sandboxes it.

|
Embed
Progress spinner
sod
sod

@Archimage That's encouraging. 😊 Should I ever come around to implementing my own, I will probably write in assembly, targeting one of the microcontrollers I know. The Sharp LR35902 (Game Boy), most likely.

Have you visited the Forth Haiku Salon? It's a playground for writing and sharing short visual Forth programs. It might be a fun exercise to port (some of) its glossary over to your Forth, to get basic support for graphics programming.

|
Embed
Progress spinner
Archimage
Archimage

@sod thanks for the link I’ll check it out. I’m thinking of reimplementing mine in Swift to run in a Mac and iPad.

|
Embed
Progress spinner