Email or username:

Password:

Forgot your password?
David Wilson

Today I'm spending some time writing up an outline for a new guide and video series about Guile Scheme!

The goal is to teach anyone (even programming beginners, if possible) how to use Scheme as a language for building personal tools (scripts, etc) and managing their system via Guix. Guix itself won't be covered in depth, but the features of the language used commonly in Guix will be!

What would you like to see covered in such a series?

#gnu #guile #scheme #guix

4 comments
(((o))) Acoustic Mirror

@daviwil A clearer guide of all the goodness in the Guile Library. This is usually hidden inside the Guile Library Reference.

At the same time, I'm not sure this will fit a format like yours.

David Wilson

@acousticmirror Anything in particular? I'd like to cover some more advanced topics later in the guide (which might not be turned into a video). I need to investigate more of what Guile provides!

Ramin Honary

@daviwil
I have been playing around with Guile and using Guix a lot myself lately. One thing I haven't been able to figure out so far is how to get Emacs Geiser to work with the Guile debugger. I know how to set breakpoints, and I can do C-x C-e on a form to evaluate it in the Guile REPL and trigger the debugger, but there doesn't seem to have any key bindings for single stepping forms. I have to jump into the REPL and type ,s and ,n in order to actually use the debugger. It seems like Geiser actually isn't really complete, that or I am missing something.

Since the focus of your video seems to be personal tools and scripting, it would be nice to go over some of the features available in the POSIX module of Guile, but if I were making this video series, I would pay close attention to the File Tree Walk (FTW) module as a replacement for the GNU Coreutils find command. Whether I am using the shell, or Emacs, I end up using that find command at least a dozen times a day. Having a Scheme-programmable version of it woud be nice, and is something I've been wanting to work on for a while myself.

@daviwil
I have been playing around with Guile and using Guix a lot myself lately. One thing I haven't been able to figure out so far is how to get Emacs Geiser to work with the Guile debugger. I know how to set breakpoints, and I can do C-x C-e on a form to evaluate it in the Guile REPL and trigger the debugger, but there doesn't seem to have any key bindings for single stepping forms. I have to jump into the REPL and type ,s and ,n in order to actually use the debugger. It seems like Geiser actually...

DELETED

@daviwil how to set it up with #Emacs to get completion and lookups and instant documentation. For system scripting languages like elisp or even #bash there's so much content, both built-in and online, on how to build out. Yet from what I've experienced trying to jump into guix, guile code is a lot more "paste it in, if it breaks go back" than those which is unfortunate. Or is there already a great tutorial I've missed?

Go Up