Scheme

abcdw, (edited )
@abcdw@fosstodon.org avatar

We sneakily released Arei Guile Scheme IDE 0.9.5 a couple weeks ago. Mostly because there is not much user-visible new functionality, we just keep polishing sharp edges before 1.0 release.

To keep you updated: Yesterday I implemented extensions resolution mechanism, Nikita is cleaning up session handling on Emacs side and a couple more things left to do.

While we are getting ready for 1.0, @lil started to work on Hoot support!

krevedkokun,
@krevedkokun@fosstodon.org avatar

@abcdw dum-dum is on fedi @lil

abcdw, (edited )
@abcdw@fosstodon.org avatar

@graywolf Answering your question in Guile's IRC about record introspection: to obtain fields of a record-type there is record-type-fields function.

You can go even further and get a list of fields from record itself.
(record-type-fields (record-type-descriptor (%make-some-record 1 2 3)))

r6rs records introspection have a bit more consistent naming:
(use-modules (rnrs records inspection))
(record-type-fields (record-rtd (%make-record 1 2 3)))

shegeley,
@shegeley@fosstodon.org avatar

I was missing -alike data structures (immutable vectors and hash-tables) and basic operations on them (get, get-in, assoc, assoc-in, update, update-in) and a basic atom operations (ref, reset!, swap!) a lot in .

So much that I have to write a library for it https://github.com/shegeley/clojureism

:lisp: :clojure:

abcdw,
@abcdw@fosstodon.org avatar

Telling about dynamic/lexical scope in Scheme, fluids, parameters, dynamic-state's and their life in multi-threaded environment in 9 minutes.

Let me know what other questions about Scheme you have.

https://youtu.be/KSVeaXQ7aXo

mirkoh,
@mirkoh@fosstodon.org avatar

@abcdw Thanks!, this is really useful (great short video format). I haven't done any multi-threading programming yet, but I think the first examples should be useful to create some debugging helpers.

abcdw,
@abcdw@fosstodon.org avatar

@mirkoh Thank you for feedback, it's quite helpful! :)

luis_felipe,
@luis_felipe@mastodon.online avatar

📢 «Looking for Guile Trainings / Consultant»

«Basic information about the project:

The software is a GUI client for lighting control systems. Its written in C++ using QT and guile.

We will publish it under a GPL compatible license, (probably GPLv3).

There are no NDAs or other restrictive agreements in place.»

More information:

https://lists.gnu.org/archive/html/guile-user/2024-05/msg00125.html

(I'm not related to the offering, but maybe you're interested)

ekaitz_zarraga,
@ekaitz_zarraga@mastodon.social avatar

@luis_felipe Should we collab to make a website for guile jobs or something like that?

Like a job aggregator or something...

daviwil,
@daviwil@fosstodon.org avatar

@ekaitz_zarraga @luis_felipe Guile is functional, I would call it a job reducer

futurile,

📢 Curious about the the transactional deployment model invented? Intrigued by functional programming ? Looking for tips on ? David Wilson (@daviwil) will be giving a talk TOMORROW (Wednesday 29th) at 17:00 UTC - Register here!

https://libreplanet.org/wiki/Group:Guix/PatchReviewSessions2024

daviwil,
@daviwil@fosstodon.org avatar

I just opened registration for the June iteration of the "Hands-On Guile Scheme for Beginners" course!

This is an 8-week course that is a mixture of on-demand learning content, live Q&A sessions, practical exercises, and a private forum where I answer all your questions.

This iteration officially begins on June 8th, full details and schedule can be found here:

https://systemcrafters.net/courses/hands-on-guile-scheme-beginners/

Come learn Scheme and functional programming with us!

dgr,
@dgr@toot.li avatar

@daviwil Can't wait for the course ;)

daviwil,
@daviwil@fosstodon.org avatar

@dgr I'm starting to plan that now! Will probably send out a survey soon to figure out what people are most interested in learning

daviwil,
@daviwil@fosstodon.org avatar

Lambda Dungeon is starting to look pretty good!

crmsnbleyd,
@crmsnbleyd@emacs.ch avatar

@daviwil you need to make games full time because this looks so good (half-serious)

daviwil,
@daviwil@fosstodon.org avatar

@crmsnbleyd Thanks! Can't take credit for the art, this is from kenney.nl. Need to work on my pixel art skills!

krevedkokun,
@krevedkokun@fosstodon.org avatar

time to make a game I think #guile #scheme #lispgamejam #ecs

daviwil,
@daviwil@fosstodon.org avatar

Streaming Day 4 of my Spring Lisp Game Jam project right now!

Today I'll start implementing a minimal, Scheme-like scripting language for the monsters in the game. We'll finally start to see it become somewhat playable!

Check out the game here:

https://fluxharmonic.itch.io/lambda-dungeon
https://codeberg.org/daviwil/lambda-dungeon

Join us on YouTube:

Restream is not cooperating today so the Twitch stream is down!

PaniczGodek,
@PaniczGodek@functional.cafe avatar

@daviwil FWIW I have an implementation of A* for Guile here:

https://github.com/plande/grand-scheme/blob/master/grand/graph.scm (called "optimal-path")

It uses some of the (grand scheme) syntax, namely the matching variant of lambda, matching variant of the and-let* form and the "is" predicate combinator, all of which are defined here:

https://github.com/plande/grand-scheme/blob/master/grand/syntax.scm

(be careful though, because it shadows some of the core bindings, including lambda and define)

daviwil,
@daviwil@fosstodon.org avatar

@PaniczGodek nice, thanks for sharing that! The implementation looks really interesting

ramin_hal9001,
@ramin_hal9001@emacs.ch avatar

To anyone writing programs in right now, this is just a reminder that you can search through a huge cluster of Scheme libraries indexed by procedure name, including all SRFIs, at the https://index.scheme.org/ website. If you need code to do something, try searching by keyword to see if someone has already written it. Most APIs listed there even have Haskell-like types and are tagged as "pure" if they are pure.

daviwil,
@daviwil@fosstodon.org avatar

@ramin_hal9001 nice! I wasn't aware of this site

daviwil,
@daviwil@fosstodon.org avatar

Streaming Day 3 of my Spring Lisp Game Jam project right now!

Today I'll start building the interactive script editor that will enable you to edit the logic scripts for the game's monsters. This will be my first attempt at writing DOM-manipulating UI code in Hoot so it should be fun!

Check out the game here:

https://fluxharmonic.itch.io/lambda-dungeon
https://codeberg.org/daviwil/lambda-dungeon

Join us on YouTube or Twitch:

etenil,
@etenil@emacs.ch avatar

These are your father's parentheses. An elegant weapon... For a more civilised age.

#scheme #lisp #springlispgamejam2024

daviwil,
@daviwil@fosstodon.org avatar

Streaming Day 2 of my Spring Lisp Game Jam project right now!

We'll continue building out the game world by adding a few game objects and possibly wiring up their basic logic. If we have time, we might start working on the interactive editor!

The project code can be found on Codeberg:

https://codeberg.org/daviwil/lambda-dungeon

Join us on YouTube or Twitch:

Alexjgriffith,
@Alexjgriffith@mastodon.gamedev.place avatar

@daviwil it also looks like the GC wasm features hoot depends on have been mainlined by all the major browsers so people won't have to run nightly versions to run the games this time around

daviwil,
@daviwil@fosstodon.org avatar

@Alexjgriffith yep! Major improvement. The games seem to work in mobile browsers now too, at least on my phone

daviwil,
@daviwil@fosstodon.org avatar

Dave Thompson @dthompson is now live streaming work on his Spring Lisp Game Jam entry!

If you want to see what a real Hoot hacker's game code looks like, check this out :)

https://twitch.tv/davexunit

luis_felipe,
@luis_felipe@mastodon.online avatar

@daviwil @dthompson The streaming feels like an episode of The Joy of Painting with Bob Ross, plus City Pop BGM. I like it 🙂

daviwil,
@daviwil@fosstodon.org avatar

@luis_felipe @dthompson soothing vibe!

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