this post was submitted on 19 Feb 2025
4 points (100.0% liked)

Forth Programming

90 readers
1 users here now

Forth is a procedural, stack-oriented programming language and interactive environment designed by Charles H. "Chuck" Moore and first used by other programmers in 1970. (Wikipedia)

founded 2 years ago
MODERATORS
 

Greetings,

I have recently made a GForth eval bot which you can use in ##forth channel on libera.chat . It's pretty much in beta state right now and has some weird rough edges. you can run arbitrary forth code using !gforth prefix.

feel free to give me some feedback :)

top 6 comments
sorted by: hot top controversial new old
[–] Arghblarg 2 points 1 week ago (1 children)

Neat! Can you give some getting started instructions here for someone who's forgotten basically everything they know about using IRC (and also doesn't know gforth at all)?

I tried msging the bot directly in ##forth, but didn't get any responses -- my syntax may be wrong or I'm not msging it properly?

Thanks.

[–] kionite231 1 points 1 week ago (2 children)

to connect to an IRC server you would need a IRC client, the most straight forward way to connect to IRC is using the web interface (https://web.libera.chat/).

you have to send message with !gforth prefix, so for example if you want to add two numbers 1 and 2 you will write something like the following in the IRC channel.

!gforth 1 2 + .

don't forget to add period ( . ) at the end!

[–] Arghblarg 1 points 1 week ago

Weird... I joined the channel last night via Libera web chat, and tried that... nothing responded. I'll try again today and log what happens.

[–] Arghblarg 1 points 1 week ago

Hmm, it's working now (Fri 12:53 PST). Thanks.

[–] troyunrau 1 points 1 week ago (1 children)

I was today years old when I learned there was a dedicated forth community on Lemmy

[–] Arghblarg 2 points 1 week ago

Not only that, there's an APL community too!

... not that there's much activity on either, but hey one must start somewhere :)