1 .\" Written by Robert Merkel (rgmerk@mira.net)
2 .\" augmented by Rob Browning <rlb@cs.utexas.edu>
3 .\" Process this file with
4 .\" groff -man -Tascii foo.1
8 guile \- a Scheme interpreter
10 .B guile [-q] [-ds] [--help] [--version] [--emacs] [--debug]
11 .B [-l FILE] [-e FUNCTION] [\]
12 .B [-c EXPR] [-s SCRIPT] [--]
14 GNU Guile is an interpreter for the Scheme programming language. It
15 implements R5RS, providing additional features
16 necessary for real-world use. It is extremely simple to embed guile
17 into a C program, calling C from Scheme and Scheme from C. Guile's
18 design makes it very suitable for use as an "extension" or "glue"
19 language, but it also works well as a stand-alone scheme development
24 executable itself provides a stand-alone interpreter for scheme
25 programs, for either interactive use or executing scripts.
27 This manpage provides only brief instruction in invoking
29 from the command line. Please consult the guile info documentation
32 at a command prompt) for more information.
36 Load scheme source code from file.
38 After reading script, apply FUNCTION to command-line arguments
40 do -s SCRIPT at this point (note that this argument must be used in
43 Describe command line options and exit
45 Start guile with debugging evaluator and backtraces enabled
46 (useful for debugging guile scripts)
48 Display guile version and exit.
50 Enable emacs protocol for use from within emacs (experimental)
52 Stop argument processing, start guile in interactive mode.
54 Stop argument processing, evaluate EXPR as a scheme expression.
56 Load Scheme source from SCRIPT-FILE and execute as a script.
58 Suppress loading the user's ~/.guile file.
61 .\".TP \w'MANROFFSEQ\ \ 'u
66 is set, its value is used to agument the path to search for scheme
67 files when loading. It should be a colon separated list of
68 directories which will be prepended to the default %load-path.
72 is a guile script that is executed before any other processing occurs.
73 For example, the following .guile activates guile's readline
77 (use-modules (ice-9 readline))
82 The full documentation for guile is maintained as a Texinfo manual. If
83 the info and guile programs are properly installed at your site, the
88 should give you access to the complete manual.
90 http://www.schemers.org provides a general introduction to the
94 There is a mailing list, bug-guile@gnu.org, for reporting Guile bugs and
95 fixes. But before reporting something as a bug, please try to be sure
96 that it really is a bug, not a misunderstanding or a deliberate feature.
97 We ask you to read the section ``Reporting Bugs'' in the Guile reference
98 manual (or Info system) for hints on how and when to report bugs. Also,
99 include the version number of the Guile you are running in every bug
100 report that you send in. Bugs tend actually to be fixed if they can be
101 isolated, so it is in your interest to report them in such a way that
102 they can be easily reproduced.
105 Copyright (C) 2010 Free Software Foundation, Inc.
107 Permission is granted to make and distribute verbatim copies of this
108 document provided the copyright notice and this permission notice are
109 preserved on all copies.
111 Permission is granted to copy and distribute modified versions of this
112 document under the conditions for verbatim copying, provided that the
113 entire resulting derived work is distributed under the terms of a
114 permission notice identical to this one.
116 Permission is granted to copy and distribute translations of this
117 document into another language, under the above conditions for modified
118 versions, except that this permission notice may be stated in a
119 translation approved by the Free Software Foundation.
122 Robert Merkel <rgmerk@mira.net> wrote this manpage.
123 Rob Browning <rlb@cs.utexas.edu> has added to it.
126 is GNU software. Guile is originally based on Aubrey Jaffer's
127 SCM interpreter, and is the work of many individuals.