SergKoren, to programming
@SergKoren@writing.exchange avatar

I was pretty good at FORTH, back-in-the-day. Now, that I’m implementing my own, I have much better and fuller understanding.

SergKoren, to programming
@SergKoren@writing.exchange avatar

More memory work and block words implemented.

SergKoren, to forth
@SergKoren@writing.exchange avatar

Ok. I can load and list blocks now. That’s a start.

SergKoren, to programming
@SergKoren@writing.exchange avatar

I think I’ll work on storage blocks and the editor in my FORTH, or maybe converting memory to be byte-oriented. I guess I’ll decide on what I feel like working on at the time.

SergKoren, to programming
@SergKoren@writing.exchange avatar

Hm. It just hit me I could now easily convert my FORTH from being implemented in Python to Swift. I won’t do either until it’s done. Normally, I’d just jump right in and do it, but I’m trying to teach myself to be more patient.

SergKoren, to programming
@SergKoren@writing.exchange avatar

Time to switch gears and get some lunch and free-write. That’s enough work on my FORTH. Im slowly getting there.

SergKoren, to programming
@SergKoren@writing.exchange avatar

I’ve got some basic (virtual) memory management words working. Right now, I’m limiting it to 1K.

SergKoren, to forth
@SergKoren@writing.exchange avatar

This evening, I’ll work on the virtual memory for my FORTH implementation. It’s going to be a bit weird since I’m not using true memory or even bytes to store stuff, but it should work. At some point maybe I’ll convert it to being byte-oriented.

SergKoren, to programming
@SergKoren@writing.exchange avatar

I’m just having fun with this FORTH project. I’m at the stage where some of the words are actually implemented in itself rather than the underlying Python. I think once I get conditionals working, I can convert some of the existing words to FORTH.

SergKoren, to programming
@SergKoren@writing.exchange avatar

Implemented a few more words. Time for lunch. Then an afternoon of edits.

SergKoren, to programming
@SergKoren@writing.exchange avatar

A little more work and a lot of refactoring in my FORTH.

SergKoren, to programming
@SergKoren@writing.exchange avatar

Hm. I just discovered that Pythonista can invoke ObjC and hook into iOS. FORTH calling iOS? That’s a maybe.

SergKoren, to programming
@SergKoren@writing.exchange avatar

My simple implementation of FORTH running on an iPad, thanks to Pythonista.

SergKoren, to programming
@SergKoren@writing.exchange avatar

Last evening, I got bored and started implementing FORTH in Python. Don’t ask why. Like I said, I was bored.

SergKoren, to programming
@SergKoren@writing.exchange avatar

I forgot FORTH has blocks and an editor. Glad I’m refreshing my knowledge. It’s been a while.

olimex, to retrocomputing
@olimex@mastodon.social avatar
Mecrisp, to forth German

I am happy to announce the 1.1.0 release of Mecrisp-Quintus, an optimising compiler capable of generating native code with constant folding and register allocation which is now also available for 64 bit RV64IM and RV64IMC targets in addition to RV32I(M)(C) and MIPS M4K.

https://mecrisp.sourceforge.net

SergKoren, to programming
@SergKoren@writing.exchange avatar

Getting back into FORTH has reminded me it’s more of a meta-programming language. It’s great for implementing DSLs.

SergKoren, to programming
@SergKoren@writing.exchange avatar

I discover I still love FORTH. Working my way through “Starting FORTH” again. I miss straight-forward simple and understandable programming languages.

alexshendi, to windows German
@alexshendi@rollenspiel.social avatar

Guten Morgen!

scheint das einzige zugelassene Betriebssystem für Senioren zu sein!

Noch nie gesehen:

SergKoren, to forth
@SergKoren@writing.exchange avatar

Hm. There is a FORTH for a RaspberryPico? That might be fun for hardware control/IOT

SergKoren, to forth
@SergKoren@writing.exchange avatar

Time to dig out my Leo Brodie FORTH books…

SergKoren, to RaspberryPi
@SergKoren@writing.exchange avatar

Success! I got gForth running, but I wasted a couple of hours trying to figure out why it wouldn’t run on one of my Pis. Turns out I was trying to run it on a newer version of a Pi4 and apparently that doesn’t work. Once I used another Pi4 with an earlier version, it all worked.

SergKoren, to programming
@SergKoren@writing.exchange avatar

A followup. There are implementations of FORTH on RaspberryPi, including a “bare metal” one. I dont want to tie up one of my Pis, so I may opt for the more standard one, gForth.

https://peterwawood.blogspot.com/2014/07/installing-forth-on-raspberry-pi.html

profoundlynerdy, to retrocomputing
@profoundlynerdy@bitbang.social avatar

Now this is : someone has ported 40 year old from some uncertain dialect from the to gForth. It originated a Byte Magazine article.

The game is playable on in a terminal at 40 columns. Someone else modernized the game to be 80 column native and make a handful of other quality of life improvements.

https://rickcarlino.com/2021/resurrecting-a-40-year-old-forth-strategy-game.html

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • InstantRegret
  • ethstaker
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • mdbf
  • Youngstown
  • Durango
  • slotface
  • everett
  • kavyap
  • DreamBathrooms
  • JUstTest
  • thenastyranch
  • tacticalgear
  • modclub
  • cisconetworking
  • tester
  • cubers
  • khanakhh
  • ngwrru68w68
  • normalnudes
  • megavids
  • anitta
  • Leos
  • lostlight
  • All magazines