2025-03-14 21:59:59 -06:00
|
|
|
# guile
|
|
|
|
|
|
|
|
|
|
> Guile Scheme interpreter.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://www.gnu.org/software/guile/manual/guile.html#Invoking-Guile>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Start a REPL (interactive shell):
|
|
|
|
|
|
|
|
|
|
`guile`
|
|
|
|
|
|
|
|
|
|
- Execute the script in a given Scheme file:
|
|
|
|
|
|
|
|
|
|
`guile {{script.scm}}`
|
|
|
|
|
|
|
|
|
|
- Execute a Scheme expression:
|
|
|
|
|
|
|
|
|
|
`guile -c "{{expression}}"`
|
|
|
|
|
|
|
|
|
|
- Listen on a port or a Unix domain socket (the default is port 37146) for remote REPL connections:
|
|
|
|
|
|
|
|
|
|
`guile --listen={{port_or_socket}}`
|