version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
GUILE |
|
|
2 |
!!!GUILE |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
ENVIRONMENT |
|
|
8 |
FILES |
|
|
9 |
SEE ALSO |
|
|
10 |
AUTHORS |
|
|
11 |
---- |
|
|
12 |
!!NAME |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
guile - a Scheme interpreter |
|
|
16 |
!!SYNOPSIS |
|
|
17 |
|
|
|
18 |
|
|
|
19 |
__guile [[-q] [[-ds] [[--help] [[--version] [[--emacs] [[--debug] |
|
|
20 |
[[-l FILE] [[-e FUNCTION] [[] [[-c EXPR] [[-s SCRIPT] |
|
|
21 |
[[--]__ |
|
|
22 |
!!DESCRIPTION |
|
|
23 |
|
|
|
24 |
|
|
|
25 |
Guile is an interpreter for the Scheme programming language. |
|
|
26 |
It implements a superset of R4RS, providing the additional |
|
|
27 |
features necessary for real-world use. It is extremely |
|
|
28 |
simple to embed guile into a C program, calling C from |
|
|
29 |
Scheme and Scheme from C. Guile's design makes it very |
|
|
30 |
suitable for use as an |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
The __guile__ executable itself provides a stand-alone |
|
|
34 |
interpreter for scheme programs, for either interactive use |
|
|
35 |
or executing scripts. |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
This manpage provides only brief instruction in invoking |
|
|
39 |
__guile__ from the command line. Please consult the guile |
|
|
40 |
info documentation (type __info guile__ at a command |
|
|
41 |
prompt) for more information. There is also a tutorial |
|
|
42 |
__(info guile-tut)__ available. |
|
|
43 |
!!OPTIONS |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
-l |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
Load scheme source code from file. |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
-e |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
After reading script, apply FUNCTION to command-line |
|
|
56 |
arguments |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
-ds |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
do -s SCRIPT at this point (note that this argument must be |
|
|
63 |
used in conjuction with -s) |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
--help |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
Describe command line options and exit |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
--debug |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
Start guile with debugging evaluator and backtraces enabled |
|
|
76 |
(useful for debugging guile scripts) |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
--version |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
Display guile version and exit. |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
--emacs |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
Enable emacs protocol for use from within emacs |
|
|
89 |
(experimental) |
|
|
90 |
|
|
|
91 |
|
|
|
92 |
-- |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
Stop argument processing, start guile in interactive |
|
|
96 |
mode. |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
-c |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
Stop argument processing, evaluate EXPR as a scheme |
|
|
103 |
expression. |
|
|
104 |
|
|
|
105 |
|
|
|
106 |
-s |
|
|
107 |
|
|
|
108 |
|
|
|
109 |
Load Scheme source from SCRIPT-FILE and execute as a |
|
|
110 |
script. |
|
|
111 |
!!ENVIRONMENT |
|
|
112 |
|
|
|
113 |
|
|
|
114 |
__GUILE_LOAD_PATH__ |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
If $__GUILE_LOAD_PATH__ is set, its value is used to |
|
|
118 |
agument the path to search for scheme files when loading. It |
|
|
119 |
should be a colon separated list of directories which will |
|
|
120 |
be prepended to the default %load-path. |
|
|
121 |
!!FILES |
|
|
122 |
|
|
|
123 |
|
|
|
124 |
''~/.guile'' is a guile script that is executed before |
|
|
125 |
any other processing occurs. For example, the following |
|
|
126 |
.guile activates guile's readline interface: |
|
|
127 |
|
|
|
128 |
|
|
|
129 |
(use-modules (ice-9 readline)) |
|
|
130 |
(activate-readline) |
|
|
131 |
!!SEE ALSO |
|
|
132 |
|
|
|
133 |
|
|
|
134 |
__info guile, info guile-tut__ |
|
|
135 |
|
|
|
136 |
|
|
|
137 |
http://www.schemers.org provides a general introduction to |
|
|
138 |
the Scheme language. |
|
|
139 |
!!AUTHORS |
|
|
140 |
|
|
|
141 |
|
|
|
142 |
Robert Merkel |
|
|
143 |
|
|
|
144 |
|
|
|
145 |
__guile__ is GNU software. Guile is originally based on |
|
|
146 |
Aubrey Jaffer's SCM interpreter, and is the work of many |
|
|
147 |
individuals. |
|
|
148 |
---- |