Add "REPORTING BUGS" and "COPYING" sections to Guile man page
[bpt/guile.git] / doc / guile.1
CommitLineData
4cd27226
MV
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
5.\"
1660414a 6.TH GUILE 1
4cd27226
MV
7.SH NAME
8guile \- a Scheme interpreter
9.SH SYNOPSIS
10.B guile [-q] [-ds] [--help] [--version] [--emacs] [--debug]
11.B [-l FILE] [-e FUNCTION] [\]
12.B [-c EXPR] [-s SCRIPT] [--]
13.SH DESCRIPTION
1660414a
LC
14GNU Guile is an interpreter for the Scheme programming language. It
15implements R5RS, providing additional features
4cd27226
MV
16necessary for real-world use. It is extremely simple to embed guile
17into a C program, calling C from Scheme and Scheme from C. Guile's
18design makes it very suitable for use as an "extension" or "glue"
19language, but it also works well as a stand-alone scheme development
20environment.
21
22The
23.B guile
24executable itself provides a stand-alone interpreter for scheme
25programs, for either interactive use or executing scripts.
26
27This manpage provides only brief instruction in invoking
28.B guile
29from the command line. Please consult the guile info documentation
30(type
31.B info guile
24d386ac 32at a command prompt) for more information.
4cd27226
MV
33
34.SH OPTIONS
35.IP -l FILE
36Load scheme source code from file.
37.IP -e FUNCTION
38After reading script, apply FUNCTION to command-line arguments
39.IP -ds
40do -s SCRIPT at this point (note that this argument must be used in
41conjuction with -s)
42.IP --help
43Describe command line options and exit
44.IP --debug
45Start guile with debugging evaluator and backtraces enabled
46(useful for debugging guile scripts)
47.IP --version
48Display guile version and exit.
49.IP --emacs
50Enable emacs protocol for use from within emacs (experimental)
51.IP --
52Stop argument processing, start guile in interactive mode.
53.IP -c EXPR
54Stop argument processing, evaluate EXPR as a scheme expression.
55.IP -s SCRIPT-FILE
56Load Scheme source from SCRIPT-FILE and execute as a script.
24d386ac
NJ
57.IP -q
58Suppress loading the user's ~/.guile file.
4cd27226
MV
59
60.SH ENVIRONMENT
61.\".TP \w'MANROFFSEQ\ \ 'u
62.TP
63.B GUILE_LOAD_PATH
64If
65.RB $ GUILE_LOAD_PATH
66is set, its value is used to agument the path to search for scheme
67files when loading. It should be a colon separated list of
68directories which will be prepended to the default %load-path.
69
70.SH FILES
71.I ~/.guile
72is a guile script that is executed before any other processing occurs.
73For example, the following .guile activates guile's readline
74interface:
75
76.RS 4
77(use-modules (ice-9 readline))
78.RS 0
79(activate-readline)
80
81.SH "SEE ALSO"
1660414a
LC
82The full documentation for guile is maintained as a Texinfo manual. If
83the info and guile programs are properly installed at your site, the
84command
85.IP
86.B info guile
87.PP
88should give you access to the complete manual.
4cd27226
MV
89
90http://www.schemers.org provides a general introduction to the
91Scheme language.
92
a7d8a8a6
NJ
93.SH "REPORTING BUGS"
94There is a mailing list, bug-guile@gnu.org, for reporting Guile bugs and
95fixes. But before reporting something as a bug, please try to be sure
96that it really is a bug, not a misunderstanding or a deliberate feature.
97We ask you to read the section ``Reporting Bugs'' in the Guile reference
98manual (or Info system) for hints on how and when to report bugs. Also,
99include the version number of the Guile you are running in every bug
100report that you send in. Bugs tend actually to be fixed if they can be
101isolated, so it is in your interest to report them in such a way that
102they can be easily reproduced.
103
104.SH COPYING
105Copyright (C) 2010 Free Software Foundation, Inc.
106
107Permission is granted to make and distribute verbatim copies of this
108document provided the copyright notice and this permission notice are
109preserved on all copies.
110
111Permission is granted to copy and distribute modified versions of this
112document under the conditions for verbatim copying, provided that the
113entire resulting derived work is distributed under the terms of a
114permission notice identical to this one.
115
116Permission is granted to copy and distribute translations of this
117document into another language, under the above conditions for modified
118versions, except that this permission notice may be stated in a
119translation approved by the Free Software Foundation.
120
4cd27226
MV
121.SH AUTHORS
122Robert Merkel <rgmerk@mira.net> wrote this manpage.
123Rob Browning <rlb@cs.utexas.edu> has added to it.
124
125.B guile
126is GNU software. Guile is originally based on Aubrey Jaffer's
127SCM interpreter, and is the work of many individuals.