Commit 1d92f641 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2003-05-26 21:05:59 by cvscast] update manual

Original author: cvscast
Date: 2003-05-26 21:05:59+00:00
parent 47f8c8f7
...@@ -50,7 +50,7 @@ scripts, which are executed successively.</li> ...@@ -50,7 +50,7 @@ scripts, which are executed successively.</li>
<p> <p>
CDuce programs are sequences of phrases, which can CDuce programs are sequences of phrases, which can
be juxtaposed or separated by <code>;;</code>. There are five kinds of be juxtaposed or separated by <code>;;</code>. There are several kinds of
phrases: phrases:
</p> </p>
...@@ -86,6 +86,11 @@ debug subtype %%t%%1 %%t2%% {{ check subtyping }} ...@@ -86,6 +86,11 @@ debug subtype %%t%%1 %%t2%% {{ check subtyping }}
debug compile %%t%% %%p%%1 ... %%pn%% {{ compilation of pattern matching }} debug compile %%t%% %%p%%1 ... %%pn%% {{ compilation of pattern matching }}
]]></sample> ]]></sample>
</li> </li>
<li>Textual inclusion <code>include "%%other_cduce_script.cd%%"</code>;
note that cycle of inclusion are detected and automatically broken.
</li>
</ul> </ul>
</box> </box>
...@@ -105,9 +110,16 @@ must be contained in a single adjacent sequence of phrases ...@@ -105,9 +110,16 @@ must be contained in a single adjacent sequence of phrases
</p> </p>
<p> <p>
In order to allow persistence (option <code>--dump</code> to operate, You can quit the toplevel with either the toplevel directive
you must quit the toplevel with <code>Ctrl-D</code> <code>#quit</code> are one of <code>Ctrl-C</code> or
and not <code>Ctrl-C</code> <code>Ctrl-D</code>. In order to allow persistence
(option <code>--dump</code> to operate,
you must quit the toplevel with <code>#quit</code>.
</p>
<p>
The topelevel directive <code>#env</code> prints the current
environment (global types and values).
</p> </p>
<p> <p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment