GUILE(1)
π GUILE(1) β the GNU Project Extension Language β¨
okay bestie, listen. this is the manual page for guile, from GNU Guile 2.2, and I'm gonna walk you through it like we're texting at 2am. buckle up, it's giving iconic compiler energy π
πΈ NAME πΈ
guile β The GNU Project Extension Language. that's it. that's the name. short, sweet, main character energy π
β¨ SYNOPSIS β¨
guile [-L DIRECTORY] [-l FILE] [-e FUNCTION] [\] [-c EXPR] [-s SCRIPT]
[--] [SCRIPT [ARGs for SCRIPT]]
real talk: only the most useful options are listed up here, the rest are chilling down below in OPTIONS. don't come for me π
π¦ DESCRIPTION π¦
GNU Guile is an implementation of the Scheme programming language, no cap. It extends the R5RS and R6RS language standards, and gives you extra features that you genuinely need for real-world use. it's the glow-up Scheme deserved π
Guile works well for interactive use, basic scripting, and extension of larger applications β and also for stand-alone Scheme application development. so basically it does everything, it's versatile like that π
The guile executable itself is a stand-alone interactive compiler and run-time for Scheme programs, both for interactive use and for executing Scheme scripts or programs. it's the whole package, lowkey π₯
This manual page provides only brief instruction in invoking guile from the command line. bestie, for the full lore you gotta consult the Guile info documentation β type
info "(guile)Invoking Guile"
at a command prompt and you're in π«Ά
π OPTIONS π
-L DIRECTORYβ adds DIRECTORY to the front of Guile's module load path. front of the line, like the VIP section β¨-l FILEβ load Scheme source code from FILE.-e FUNCTIONβ after reading SCRIPT, apply FUNCTION to the command-line arguments. heads up: FUNCTION gets evaluated, so for example(@ (my-module) my-proc)is valid here. yes, actually valid, no cap.\β the "meta switch", used to work around limitations in#!scripts. see "The Meta Switch" in the texinfo documentation for more details. it's giving secret passage π΅οΈ--β stop argument processing, and start guile in interactive mode.-c EXPRβ stop argument processing, and evaluate EXPR as a Scheme expression.-s SCRIPT-FILEβ load Scheme source from SCRIPT-FILE and execute as a script. note that in many cases you don't even need-s; you can just invoke guile asguile SCRIPT-FILE ARG.... we love a low-effort moment π-dsβ carry out-s SCRIPTat this point in the option sequence. note that this argument must be used in conjunction with-s. they're a package deal, fr fr.--debugβ start guile with the debugging VM. by default, debugging is on when guile is invoked interactively, and off otherwise.--no-debugβ start guile without the debugging VM, even if guile is being run interactively.--auto-compileβ compile source files automatically. this is the default behavior, so it's already slaying on its own π--no-auto-compileβ disable automatic source file compilation.--listen[=P]β listen on a port or socket for remote REPL connections. see the manual for more details π--use-srfi=N,M...β load SRFI extensions N, M, etc. for example,--use-srfi=8,13.-x EXTENSIONβ add EXTENSION to the guile load extension list.-h,--helpβ describe command-line options and exit. our helpful king π«Ά-v,--versionβ display guile version and exit.-qβ in interactive mode, suppress loading the user's initialization file,~/.guile. quiet mode, introvert behavior, we respect it π
π ENVIRONMENT π
GUILE_LOAD_PATHβ if$GUILE_LOAD_PATHis set beforeguileis started, its value is used to augment the path to search for Scheme files when loading. it should be a colon-separated list of directories, which will be prefixed to the default%load-path.GUILE_LOAD_COMPILED_PATHβ if$GUILE_LOAD_COMPILED_PATHis set beforeguileis started, its value is used to augment the path to search for compiled Scheme files (.gofiles) when loading. it should be a colon-separated list of directories, which will be prefixed to the default%load-compiled-path.
π FILES π
~/.guileβ a Guile script that is executed before any other processing occurs. for example, this.guileactivates guile's readline interface:
(use-modules (ice-9 readline))
(activate-readline)
look at that, setup before anything else even happens. organized queen π
π₯ SEE ALSO π₯
The full documentation for Guile is maintained as a Texinfo manual. If the info and guile programs are properly installed at your site, the command
info guile
should give you access to the complete manual. β¨
http://www.schemers.org provides a general introduction to the Scheme language β go look, it's giving educational π¦
π REPORTING BUGS π
There is a mailing list, bug-guile@gnu.org, for reporting Guile bugs and fixes. but bestie, before you report something as a bug, please try to be sure that it really is a bug β not a misunderstanding or a deliberate feature. π
We ask you to read the section ``Reporting Bugs'' in the Guile reference manual (or Info system) for hints on how and when to report bugs. also, include the version number of the Guile you are running in every bug report that you send in. bugs tend actually to get fixed if they can be isolated, so it is in your interest to report them in such a way that they can be easily reproduced. do it for you, not for them π
π COPYING π
Copyright (C) 2010, 2011 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this document provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this document under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this document into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation.
π AUTHORS π
Robert Merkel <rgmerk@mira.net> wrote this manpage. Rob Browning <rlb@cs.utexas.edu> has added to it. legends, both of them π«Ά
guile is GNU software. Guile is originally based on Aubrey Jaffer's SCM interpreter, and is the work of many individuals. many hands, one iconic language π
and that's the whole page, bestie!! this one's from GNU, dated 2011-03-04, and it's GUILE(1) β go forth and Scheme responsibly β¨ππ
π¦ where this page comes from
- arch rolling: guile2.2 2.2.7-5 Β· GPL
- epel 9: guile22 2.2.7-6.el9 Β· LGPLv3+
- fedora 43: guile22 2.2.7-18.fc43 Β· LGPL-3.0-or-later
- fedora 43: guile22 2.2.7-18.fc43 Β· LGPL-3.0-or-later
- fedora 44: guile22 2.2.7-18.fc43 Β· LGPL-3.0-or-later
- fedora 44: guile22 2.2.7-18.fc43 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms