LinuxCommandLibrary

guile

TLDR

Start interactive REPL

$ guile
copy
Run script
$ guile [script.scm]
copy
Evaluate expression
$ guile -c "(display \"Hello\")"
copy
Load file then REPL
$ guile -l [library.scm]
copy
Debug mode
$ guile --debug [script.scm]
copy

SYNOPSIS

guile [options] [file] [args]

DESCRIPTION

Guile is the GNU Ubiquitous Intelligent Language for Extensions. It's a Scheme implementation used for scripting and extending applications.
Guile provides full Scheme functionality plus extensions for practical programming. It's designed to be embeddable in C/C++ applications.
Guile is GNU's Scheme interpreter.

PARAMETERS

FILE

Scheme script to run.
ARGS
Arguments to script.
-c EXPR
Evaluate expression.
-l FILE
Load file before running.
-e FUNC
Entry point function.
--debug
Enable debugging.
-q
Quiet startup.
--help
Display help information.

CAVEATS

Scheme syntax differs from other Lisps. Extension libraries vary by version. Steep learning curve.

HISTORY

Guile was created by the GNU Project as its official extension language, first released in 1993.

SEE ALSO

scheme(1), racket(1), chicken(1)

Copied to clipboard