SergKoren, to programming
@SergKoren@writing.exchange avatar

More memory work and block words implemented.

#programming #forth #python

SergKoren, to forth
@SergKoren@writing.exchange avatar

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

#forth #programming

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.

#programming #forth

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.

#programming #forth #python #swift

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.

#programming #forth

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.

#programming #forth

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.

#forth #programming

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.

#programming #forth

SergKoren, to programming
@SergKoren@writing.exchange avatar

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

#programming #forth #python

SergKoren, to programming
@SergKoren@writing.exchange avatar

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

#programming #forth #python

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.

#programming #forth #python #ios

SergKoren, to programming
@SergKoren@writing.exchange avatar

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

#programming #forth #python

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.

#programming #forth

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

I am happy to announce the 1.1.0 release of Mecrisp-Quintus, an optimising #Forth compiler capable of generating native code with constant folding and register allocation which is now also available for 64 bit #riscv 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.

#programming #forth

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.

#programming #forth

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

Guten Morgen!

#Windows 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

#raspberrypico #forth

SergKoren, to forth
@SergKoren@writing.exchange avatar

Time to dig out my Leo Brodie FORTH books…

#forth

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.

#raspberrypi #forth

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

itnewsbot, to forth
@itnewsbot@schleuss.online avatar

Bit-Serial CPU: Ultra-Tiny VHDL-Based CPU With Forth Interpreter - Soft cores for FPGAs come in many different flavors, covering a wide range of appl... - https://hackaday.com/2024/02/24/bit-serial-cpu-ultra-tiny-vhdl-based-cpu-with-forth-interpreter/

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