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!
No comments yet. Log in to reply on the Fediverse. Comments will appear here.