@@ -14,11 +14,15 @@ 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 --arg option are
passed to the source file(s). If no CDuce file is given on the command line
then the interpreter uses the standard input.
passed to the source file(s).
.PP
If no CDuce file is given on the command line
then the interpreter uses the standard input and behaves as an interactive
toplevel. Toplevel phrases are processed after each \fB;;\fR. Mutually recursive declarations of types or functions must be contained in a single adjacent sequence of phrases (without \fB;;\fR inbetween).
In order to allow persistence (option \fB--dump\fR) to operate, you must quit the toplevel with \fBCtrl-D\fR and not \fBCtrl-C\fR.
.SH "OPTIONS"
.PP
This program follows the usual GNU command line syntax,
This program follows the usual syntax,
with long options starting with two dashes (`--'). A
summary of the options supported by \fBcduce\fR
is included below.
...
...
@@ -30,11 +34,11 @@ 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
\fB-h, --help\fR
Display a short help message and exit.
.TP
\fB--license\fR
Show license information
Show license information and exit.
.TP
\fB--quiet\fR
Suppress normal output (typing, results). It is normally
@@ -37,8 +37,14 @@ The <command>cduce</command> 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 --arg option are
passed to the source file(s). If no CDuce file is given on the command line
then the interpreter uses the standard input.
passed to the source file(s).
</para>
<para>
If no CDuce file is given on the command line
then the interpreter uses the standard input and behaves as an interactive
toplevel. Toplevel phrases are processed after each <command>;;</command>. Mutually recursive declarations of types or functions must be contained in a single adjacent sequence of phrases (without <command>;;</command> inbetween).
In order to allow persistence (option <option>--dump</option>) to operate, you must quit the toplevel with <command>Ctrl-D</command> and not <command>Ctrl-C</command>.
</para>
</refsect1>
...
...
@@ -46,7 +52,7 @@ then the interpreter uses the standard input.
<refsect1>
<title>Options</title>
<para>
This program follows the usual GNU command line syntax,
This program follows the usual syntax,
with long options starting with two dashes (`--'). A
summary of the options supported by <command>cduce</command>
is included below. </para>
...
...
@@ -69,7 +75,7 @@ the interpreter is started again with the same option and file.</para>