Start Guile shell script that listens on a port for REPL client 0 ▲ Open source software and nice hardware 172 days ago · Tech · hide · Fediverse post Start Guile shell script that listens on a port for REPL client Guile, while running a program, can listen to a port for a REPL client, like a Swank server on SBCL. Here's how to connect from Geiser to a running Guile script. Start the Guile shell-script This is how to start a Guile script: #!/usr/local/bin/guile3 \ -e main --listen -s !# (use-modules (...)) ... Note the the first line starts with #! and third starts with !#. The first line contains the name of the Guile executable and the path to it. This example is from FreeBSD. Guile listens default to port 37146. Connect Geiser to the port In Emacs, run: M-x geiser-connect This will prompt of a host, with localhost as default, and a port with 37146 as default. This gives a REPL in the running Guile script. Have fun! Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town