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
|
<html>
<head><title>DEFAULT-PRINT-PROMPT.html -- ACL2 Version 3.1</title></head>
<body text=#000000 bgcolor="#FFFFFF">
<h2>DEFAULT-PRINT-PROMPT</h2>the default <a href="PROMPT.html">prompt</a> printed by <code><a href="LD.html">ld</a></code>
<pre>Major Section: <a href="MISCELLANEOUS.html">MISCELLANEOUS</a>
</pre><p>
<pre>
Example prompt:
ACL2 p!s>
</pre>
The <a href="PROMPT.html">prompt</a> printed by ACL2 displays the current package, followed by
a space, followed by zero or more of the three <a href="CHARACTERS.html">characters</a> as
specified below, followed by the character <code><a href="_gt_.html">></a></code> printed one or more
times, reflecting the number of recursive calls of <code><a href="LD.html">ld</a></code>. The three
<a href="CHARACTERS.html">characters</a> in the middle are as follows:
<pre>
p ; when (default-defun-mode (w state)) is :program
! ; when guard checking is on
s ; when (ld-skip-proofsp state) is t
</pre>
See <a href="DEFAULT-DEFUN-MODE.html">default-defun-mode</a>, see <a href="SET-GUARD-CHECKING.html">set-guard-checking</a>, and
see <a href="LD-SKIP-PROOFSP.html">ld-skip-proofsp</a>.
<p>
Also see <a href="LD-PROMPT.html">ld-prompt</a> to see how to install your own <a href="PROMPT.html">prompt</a>.<p>
Here are some examples with <code>ld-skip-proofsp nil</code>.
<pre>
ACL2 !> ; logic mode with guard checking on
ACL2 > ; logic mode with guard checking off
ACL2 p!> ; program mode with guard checking on
ACL2 p> ; program mode with guard checking off
</pre>
Here are some examples with <code><a href="DEFAULT-DEFUN-MODE.html">default-defun-mode</a></code> of <code>:</code><code><a href="LOGIC.html">logic</a></code>.
<pre>
ACL2 > ; guard checking off, ld-skip-proofsp nil
ACL2 s> ; guard checking off, ld-skip-proofsp t
ACL2 !> ; guard checking on, ld-skip-proofsp nil
ACL2 !s> ; guard checking on, ld-skip-proofsp t
</pre>
Finally, here is the prompt in raw mode (see <a href="SET-RAW-MODE.html">set-raw-mode</a>),
regardless of the settings above:
<pre>
ACL2 P>
</pre>
<br><br><br><a href="acl2-doc.html"><img src="llogo.gif"></a> <a href="acl2-doc-index.html"><img src="index.gif"></a>
</body>
</html>
|