Doc: dev-expr description updated
This commit is contained in:
parent
34b7799177
commit
f3abf5e77c
@ -40,17 +40,19 @@ Here are some examples of execution.
|
|||||||
----
|
----
|
||||||
# Assume the expr source directory. Type 'exit' or Ctrl+D to quit the program.
|
# Assume the expr source directory. Type 'exit' or Ctrl+D to quit the program.
|
||||||
|
|
||||||
[user]$ tools/expr -- Expressions calculator v1.6.1,2024/05/06 (celestino.amoroso@portale-stac.it)
|
[user]$ tools/expr -- Expressions calculator v1.7.0,2024/05/08 (celestino.amoroso@portale-stac.it)
|
||||||
Type help to get the list of command.
|
Type help to get the list of command.
|
||||||
See also https://git.portale-stac.it/go-pkg/expr/src/branch/main/README.adoc
|
See also https://git.portale-stac.it/go-pkg/expr/src/branch/main/README.adoc
|
||||||
|
|
||||||
>>> help
|
>>> help
|
||||||
--- REPL commands:
|
--- REPL commands:
|
||||||
|
base -- Set the integer output base: 2, 8, 10, or 16
|
||||||
|
exit -- Exit the program
|
||||||
help -- Show command list
|
help -- Show command list
|
||||||
ml -- Enable/Disable multi-line output
|
ml -- Enable/Disable multi-line output
|
||||||
mods -- List builtin modules
|
mods -- List builtin modules
|
||||||
|
source -- Load a file as input
|
||||||
tty -- Enable/Disable ansi output <1>
|
tty -- Enable/Disable ansi output <1>
|
||||||
exit -- Exit the program
|
|
||||||
|
|
||||||
--- Command line options:
|
--- Command line options:
|
||||||
-b <builtin> Import builtin modules.
|
-b <builtin> Import builtin modules.
|
||||||
@ -62,6 +64,8 @@ Here are some examples of execution.
|
|||||||
-m, --modules List all builtin modules
|
-m, --modules List all builtin modules
|
||||||
-p Print prefix form
|
-p Print prefix form
|
||||||
-t Print tree form <2>
|
-t Print tree form <2>
|
||||||
|
|
||||||
|
>>>
|
||||||
----
|
----
|
||||||
|
|
||||||
<1> Only available for single fraction values
|
<1> Only available for single fraction values
|
||||||
|
@ -604,17 +604,19 @@ Here are some examples of execution.</p>
|
|||||||
<div class="content">
|
<div class="content">
|
||||||
<pre class="rouge highlight"><code data-lang="shell"><span class="c"># Assume the expr source directory. Type 'exit' or Ctrl+D to quit the program.</span>
|
<pre class="rouge highlight"><code data-lang="shell"><span class="c"># Assume the expr source directory. Type 'exit' or Ctrl+D to quit the program.</span>
|
||||||
|
|
||||||
<span class="o">[</span>user]<span class="nv">$ </span>tools/expr <span class="nt">--</span> Expressions calculator v1.6.1,2024/05/06 <span class="o">(</span>celestino.amoroso@portale-stac.it<span class="o">)</span>
|
<span class="o">[</span>user]<span class="nv">$ </span>tools/expr <span class="nt">--</span> Expressions calculator v1.7.0,2024/05/08 <span class="o">(</span>celestino.amoroso@portale-stac.it<span class="o">)</span>
|
||||||
Type <span class="nb">help </span>to get the list of command.
|
Type <span class="nb">help </span>to get the list of command.
|
||||||
See also https://git.portale-stac.it/go-pkg/expr/src/branch/main/README.adoc
|
See also https://git.portale-stac.it/go-pkg/expr/src/branch/main/README.adoc
|
||||||
|
|
||||||
<span class="o">>>></span> <span class="nb">help</span>
|
<span class="o">>>></span> <span class="nb">help</span>
|
||||||
<span class="nt">---</span> REPL commands:
|
<span class="nt">---</span> REPL commands:
|
||||||
|
base <span class="nt">--</span> Set the integer output base: 2, 8, 10, or 16
|
||||||
|
<span class="nb">exit</span> <span class="nt">--</span> Exit the program
|
||||||
<span class="nb">help</span> <span class="nt">--</span> Show <span class="nb">command </span>list
|
<span class="nb">help</span> <span class="nt">--</span> Show <span class="nb">command </span>list
|
||||||
ml <span class="nt">--</span> Enable/Disable multi-line output
|
ml <span class="nt">--</span> Enable/Disable multi-line output
|
||||||
mods <span class="nt">--</span> List <span class="nb">builtin </span>modules
|
mods <span class="nt">--</span> List <span class="nb">builtin </span>modules
|
||||||
|
<span class="nb">source</span> <span class="nt">--</span> Load a file as input
|
||||||
<span class="nb">tty</span> <span class="nt">--</span> Enable/Disable ansi output <i class="conum" data-value="1"></i><b>(1)</b>
|
<span class="nb">tty</span> <span class="nt">--</span> Enable/Disable ansi output <i class="conum" data-value="1"></i><b>(1)</b>
|
||||||
<span class="nb">exit</span> <span class="nt">--</span> Exit the program
|
|
||||||
|
|
||||||
<span class="nt">---</span> Command line options:
|
<span class="nt">---</span> Command line options:
|
||||||
<span class="nt">-b</span> <<span class="nb">builtin</span><span class="o">></span> Import <span class="nb">builtin </span>modules.
|
<span class="nt">-b</span> <<span class="nb">builtin</span><span class="o">></span> Import <span class="nb">builtin </span>modules.
|
||||||
@ -625,7 +627,9 @@ Here are some examples of execution.</p>
|
|||||||
<span class="nt">-h</span>, <span class="nt">--help</span>, <span class="nb">help </span>Show this <span class="nb">help </span>menu
|
<span class="nt">-h</span>, <span class="nt">--help</span>, <span class="nb">help </span>Show this <span class="nb">help </span>menu
|
||||||
<span class="nt">-m</span>, <span class="nt">--modules</span> List all <span class="nb">builtin </span>modules
|
<span class="nt">-m</span>, <span class="nt">--modules</span> List all <span class="nb">builtin </span>modules
|
||||||
<span class="nt">-p</span> Print prefix form
|
<span class="nt">-p</span> Print prefix form
|
||||||
<span class="nt">-t</span> Print tree form <i class="conum" data-value="2"></i><b>(2)</b></code></pre>
|
<span class="nt">-t</span> Print tree form <i class="conum" data-value="2"></i><b>(2)</b>
|
||||||
|
|
||||||
|
<span class="o">>>></span></code></pre>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="colist arabic">
|
<div class="colist arabic">
|
||||||
@ -1389,7 +1393,7 @@ The value on the left side of <code class="blue">=</code> must be an identifier.
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div id="footer-text">
|
<div id="footer-text">
|
||||||
Last updated 2024-05-07 07:20:42 +0200
|
Last updated 2024-05-08 07:50:05 +0200
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user