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

Forth Programming

89 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@lemmy.ca 2 points 2 days 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@lemmy.ca 1 points 2 days 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@lemmy.ca 1 points 2 days ago

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

[–] Arghblarg@lemmy.ca 1 points 2 days 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.

[–] troyunrau@lemmy.ca 1 points 4 days ago (1 children)

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

[–] Arghblarg@lemmy.ca 2 points 2 days ago

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

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