Adorable_Sergal, (edited ) to programming
@Adorable_Sergal@hachyderm.io avatar

We used to have programming books.

(patch notes: added a more detailed description of the man to the alt text)

Wintermute_BBS, (edited ) to random

It's friday and I'm in the mood to share some #RetroComputing lore from my #YoungerDays.

As you may have noticed, I'm currently having a slight crush on #Forth (once more). First time I did was when I was only 14 years old and found a Forth compiler on an older issue of a magazine disk (64'er 08/1985, "Listing des Monats").

And the book you see in the photograph (Forth Gurus will recognize this instantly!) is the one I bought, back then in 1987 (look mom: no barcode on it) right after discovering said compiler for this "weird" language. There are even remnants of my former handwriting on the inside, where I put my old address in case I lost the book, some 36 years ago.

To be honest: I didn't get the hang of Forth for decades. I was either too lazy to dare try again or ventured down other roads of interest.

Until three days ago, when - for reasons too complicated to explain - I once more grabbed the book, worked my way through it and finally began to grok the concept behind Forth.

rml, to fediverse
@rml@functional.cafe avatar

has anyone created an #activitypub server in #forth?

rml, to forth
@rml@functional.cafe avatar

Are there any good examples of a prefix notation #forth-like language, preferably with sexps?

amoroso, to retrocomputing
@amoroso@fosstodon.org avatar

Retro Programming is a delightful but sadly abandoned blog about programming retro systems, particularly the Spectrum and Z80 devices.

However, the archive is full of great posts on Z80 Assembly, Forth, BASIC, and more. Lots of interesting technical details and project ideas.

http://www.retroprogramming.com

#retrocomputing #assembly #forth

matadan, to random
@matadan@mastodon.social avatar

This is Rainbow. Inspired by colorForth. I've defined 4 FORTH stack manipulation operators with tests (in teal and orange) and demonstrated usage (in yellow).
They are actually all defined by the "—" operator which takes a quotation and uses the elements as labels for values that are further popped from the stack. So you can almost use standard stack effect notation to define a word!
#Rainbow #FORTH #showcase

hl, to haskell
@hl@social.lol avatar

but programming language names:
Ghost in the
Is For Heros
In The Name Of The
Schindler's
Star Wars: The Awakens
Manchester By the #C
The Truman
Bringing Up
Anyone get any other good ideas?

rml, to Lisp
@rml@functional.cafe avatar

Sector #Lisp loses its crown as the world's smallest programming language implementation to MilliFORTH, a #FORTH implementation in 386 bytes

https://github.com/fuzzballcat/milliForth

M0CUV, to forth
@M0CUV@mastodon.radio avatar

I know exactly what the problem is with eForth: I’m testing manually by poring over emulator execution traces; I’m not writing tests. I know the inner interpreter and some code words work, so I guess I’ll have to write a test framework out of that, and then test the effects of every other word until I’ve worked it all out. #TDD #FORTH

GrantMeStrength, to forth
@GrantMeStrength@hachyderm.io avatar

Today FORTH may seem like an obscure programming language, but almost every computer magazine I have from 1983/5 has articles and adverts for #FORTH products. So I would class it the most mainstream niche language.

bitzero, to linux
@bitzero@corteximplant.com avatar

I'm brand new here, so an #introduction is a good idea:

I'm a freelance tech writer / software developer / KM project manager based in Europe. Digitally, I was born in the 90s. So I grew up eating cyberpunk books, BBSs, home computers, hacking, then the first doses of Internet and the Web.

In the 90s and the first 00s I developed my (ahem) "philosophy": digital spaces are (can be, should be) autonomous zones where different cultures, and sub/counter-cultures, can thrive.

These are the years of the enshittification of Internet, but it can't rain forever (cit.) and I see the Fediverse as a new opportunity for some of us to recreate better and safer digital spaces.

That's the "vision". Than there's the daily life: I write code (awful, mostly), help companies in managing their knowledge bases, write technical documentation, sometimes write tech articles for (mostly unknown) business tech manazines.

In the spare time, I tinker with Linux, Risc-V boards and "old" languages like Forth, Assembly and C (but I'm a fan of Haskell too). I'm convinced that permacomputing and, maybe, collapse computing are our digital future. So, "back to basics" seems a good idea.

That's all, I guess. Nice to meet ya.

#softwaredevelopment #km #linux #risc-V #forth #assembly #C #haskell #permacomputing #collapsecomputing

kroc, (edited ) to random
@kroc@mstdn.social avatar

Pro Tip: Learn an old programming language. , , ; or if you’re hardcore. All of these have modern tooling. Don’t tie yourself solely to modern platform politics.

rml, to forth
@rml@functional.cafe avatar

#FORTH 2022: A Chat With Chuck Moore
https://www.youtube.com/watch?v=crMZ5j8XSRQ

Wintermute_BBS, to random
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.

Wintermute_BBS, (edited ) to programming

This is a call for help / verification on an alleged #Bug which I may have found in a #Forth #Programming tutorial online.

It's at beginner level, a bug in an exercise with regards to "flexible arrays".

The original code example and results are shown in the first two screenshots, but I'm dang sure this won't work as there's a 'rot' statement missing eventually resulting in a wrong return address.

When running the original example code, I get addresses with a 1 byte spacing for each array element. This can't be correct.

The last two screenshots show the fixed code with the missing 'rot' command added.

When running the second, fixed example, I get addresses that are spaced by 5 cells (5 * 2 byte). This is what I would expect.

Links:

nyrath, to Lisp
@nyrath@spacey.space avatar

The rise and fall of the Lisp programming language at the Jet Propulsion Lab

https://mecrisp-stellaris-folkdoc.sourceforge.io/lisp.html
#Lisp #Forth #JPL

SergKoren, to programming
@SergKoren@writing.exchange avatar

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

#programming #forth #python

crc, to forth

I've grown tired of not having a good way to find & examine differences between my #forth block sets, so I'm going to write something to deal with this.

pancake, to forth

Reading for the weekend #riscv #forth

Wintermute_BBS, (edited ) to random

🎶​ "...there's a new kit in town, everybody's talking ..." 🎶​ (loosely based on the #Eagles song of (almost) the same name)

#My4th
#CpuLessComputer
#Kit
#Homebrew
#Forth
#RetroComputing

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

chipwits, to devlog

We recovered some of the Forth code from the original 1984 version of ChipWits. Join us in deciphering the code for how Electrocrabs work!
https://chipwits.com/2023/11/11/forth-code-for-electrocrabs-in-1984-chipwits-deciphered/

profoundlynerdy, to forth
@profoundlynerdy@bitbang.social avatar

Those of you who love #Forth, do you foresee a pathway out of obscurity for the language? In an era where memory safe languages like #Rust dominate, does forth have something to offer?

It used to be that its super power was being "just enough abstraction" atop #assembly language made it the king of flexibility. But in an era where machine language institutions are themselves just really fast macros in a tiny CPU cache, I'm not sure how helpful that is.

SergKoren, to programming
@SergKoren@writing.exchange avatar

I think I’ll spend this afternoon working on FORTH and playing with PICO-8 a bit. I’d really like to have Picotron on a Raspberry Pi, however. Hm. Maybe I should write an OS…

#programming #forth #pi #picotron

  • 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