HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

guile — Guile Scheme interpreter. More information: <https://www.gnu.org/software/guile/manual/guile.html#In

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcliinformationinterpreterschememoreguile

Problem

How to use the guile command: Guile Scheme interpreter. More information: <https://www.gnu.org/software/guile/manual/guile.html#Invoking-Guile>.

Solution

guile — Guile Scheme interpreter. More information: <https://www.gnu.org/software/guile/manual/guile.html#Invoking-Guile>.

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}}

Code Snippets

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}}

Context

tldr-pages: common/guile

Revisions (0)

No revisions yet.