cduce.1 2.07 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.TH "CDUCE" "1" "" "CDUCE" "1"

.SH NAME
cduce \- The CDuce interpreter
.SH SYNOPSIS

\fBcduce\fR [ \fB  -v
--quiet
--silent\fR ] [ \fB  --dump \fIfile\fB\fR ] [ \fB  \fIfile.cd\fB\fR\fI ...\fR ] [ \fB--args \fIargument\fB\fR\fI ...\fR ]

.SH "DESCRIPTION"
.PP
The \fBcduce\fR command considers all the .cd files on the command
line that follow the options as CDuce sources, and executes them
successively. If no CDuce file is given on the command line, the interpreter
uses the standard input. All the arguments that follow the --args option are
passed to the source file(s).
.SH "OPTIONS"
.PP
This program follows the usual GNU command line syntax,
with long options starting with two dashes (`--'). A
summary of the options supported by \fBcduce\fR
is included below.  
.SS "GENERIC OPTIONS"
.TP
\fB--dump \fIfile\fB\fR
This options allows persistence between several invocations of the
interpreter: the current environment (defined types and values) is saved in
\fIfile\fR when the interpreter terminates and it is restored if
the interpreter is started again with the same option and file.
.TP
\fB-h, -?, --help\fR
Display a short help message and exit.
.TP
\fB--license\fR
Show license information
.TP
\fB--quiet\fR
Suppress normal output (typing, results). It is normally
used when the CDuce interpreter is used in the context of batch
processing.
.TP
\fB-v, --version\fR
Show version information and exit.
.SS "PROGRAM OPTIONS"
.PP
.TP
\fB--args \fIarguments\fB\fR
All the arguments following \fB--args\fR are passed to the CDuce
program, in the variable \fBargv\fR (of type \fB[ String*
]\fR, which means sequence of character strings).
.SH "REPORTING BUGS"
.PP
Report bugs to <bugs@cduce.org>.
.SH "SEE ALSO"
.PP
A complete documentation, reference manual, tutorial, technical articles on
implementation and theoretical issues, benchmarks, source code, mailing lists
and forums can be found on the \fBCDuce\fR website:
\fIhttp://www.cduce.org\fR.
.SH "AUTHOR"
.PP
Alain Frisch <Alain.Frisch@ens.fr> with small contributions of
Giuseppe Castagna <Giuseppe.Castagna@ens.fr>, Stefano Zacchiroli <zack@di.ens.fr>.