add double cell words to the glossary
FossilOrigin-Name: 7d28d4de13488f7e8fef9a57be7ee9a63eebdbfd5fbc3d33ffa66cb102ee632b
This commit is contained in:
parent
a1c4d94dc4
commit
678a16a65a
5 changed files with 92 additions and 0 deletions
|
@ -643,6 +643,18 @@ Temporarily remove n from the stack, execute the quotation, and then restore n t
|
|||
does D: q- A: - F: -
|
||||
Attach an action to the most recently created word. This is used in a manner similar to CREATE/DOES> in traditional Forth.
|
||||
|
||||
double:const D: nns- A: - F: -
|
||||
Create a constant returning the specified double cell value.
|
||||
|
||||
double:fetch D: a-n A: - F: -
|
||||
Fetch the double cell values stored in the double cell variable at a.
|
||||
|
||||
double:store D: nna- A: - F: -
|
||||
Store the double cell values on the stack in the double cell variable at a.
|
||||
|
||||
double:var D: nns- A: - F: -
|
||||
Create a variable for holding the specified double cell value.
|
||||
|
||||
drop D: n- A: - F: -
|
||||
Discard the top value on the stack.
|
||||
|
||||
|
|
|
@ -213,6 +213,10 @@ decimal D: - A: - F: -
|
|||
depth D: -n A: - F: -
|
||||
dip D: nq-n A: - F: -
|
||||
does D: q- A: - F: -
|
||||
double:const D: nns- A: - F: -
|
||||
double:fetch D: a-n A: - F: -
|
||||
double:store D: nna- A: - F: -
|
||||
double:var D: nns- A: - F: -
|
||||
drop D: n- A: - F: -
|
||||
drop-pair D: nn- A: - F: -
|
||||
dump-stack D: - A: - F: -
|
||||
|
|
|
@ -1586,6 +1586,34 @@
|
|||
</div>
|
||||
<p>Attach an action to the most recently created word. This is used in a manner similar to CREATE/DOES> in traditional Forth.</p>
|
||||
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>global</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
|
||||
<h2>double:const</h2>
|
||||
<div style='margin-left: 1em;'><p><b>Data:</b> nns-<br>
|
||||
<b>Addr:</b> -<br>
|
||||
<b>Float:</b> -</p>
|
||||
</div>
|
||||
<p>Create a constant returning the specified double cell value.</p>
|
||||
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>double</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
|
||||
<h2>double:fetch</h2>
|
||||
<div style='margin-left: 1em;'><p><b>Data:</b> a-n<br>
|
||||
<b>Addr:</b> -<br>
|
||||
<b>Float:</b> -</p>
|
||||
</div>
|
||||
<p>Fetch the double cell values stored in the double cell variable at a.</p>
|
||||
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>double</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
|
||||
<h2>double:store</h2>
|
||||
<div style='margin-left: 1em;'><p><b>Data:</b> nna-<br>
|
||||
<b>Addr:</b> -<br>
|
||||
<b>Float:</b> -</p>
|
||||
</div>
|
||||
<p>Store the double cell values on the stack in the double cell variable at a.</p>
|
||||
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>double</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
|
||||
<h2>double:var</h2>
|
||||
<div style='margin-left: 1em;'><p><b>Data:</b> nns-<br>
|
||||
<b>Addr:</b> -<br>
|
||||
<b>Float:</b> -</p>
|
||||
</div>
|
||||
<p>Create a variable for holding the specified double cell value.</p>
|
||||
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>double</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
|
||||
<h2>drop</h2>
|
||||
<div style='margin-left: 1em;'><p><b>Data:</b> n-<br>
|
||||
<b>Addr:</b> -<br>
|
||||
|
|
|
@ -2460,6 +2460,50 @@ Attach an action to the most recently created word. This is used in a manner sim
|
|||
Class: class:word | Namespace: global | Interface Layer: all
|
||||
------------------------------------------------------------------------
|
||||
|
||||
double:const
|
||||
|
||||
Data: nns-
|
||||
Addr: -
|
||||
Float: -
|
||||
|
||||
Create a constant returning the specified double cell value.
|
||||
|
||||
Class: class:word | Namespace: double | Interface Layer: all
|
||||
------------------------------------------------------------------------
|
||||
|
||||
double:fetch
|
||||
|
||||
Data: a-n
|
||||
Addr: -
|
||||
Float: -
|
||||
|
||||
Fetch the double cell values stored in the double cell variable at a.
|
||||
|
||||
Class: class:word | Namespace: double | Interface Layer: all
|
||||
------------------------------------------------------------------------
|
||||
|
||||
double:store
|
||||
|
||||
Data: nna-
|
||||
Addr: -
|
||||
Float: -
|
||||
|
||||
Store the double cell values on the stack in the double cell variable at a.
|
||||
|
||||
Class: class:word | Namespace: double | Interface Layer: all
|
||||
------------------------------------------------------------------------
|
||||
|
||||
double:var
|
||||
|
||||
Data: nns-
|
||||
Addr: -
|
||||
Float: -
|
||||
|
||||
Create a variable for holding the specified double cell value.
|
||||
|
||||
Class: class:word | Namespace: double | Interface Layer: all
|
||||
------------------------------------------------------------------------
|
||||
|
||||
drop
|
||||
|
||||
Data: n-
|
||||
|
|
|
@ -213,6 +213,10 @@ decimal - - - Set `Base` to decimal. class:word {n/a} {n/a} a all
|
|||
depth -n - - Return the number of items on the stack. class:word {n/a} {n/a} global all
|
||||
dip nq-n - - Temporarily remove n from the stack, execute the quotation, and then restore n to the stack. class:word {n/a} {n/a} global all
|
||||
does q- - - Attach an action to the most recently created word. This is used in a manner similar to CREATE/DOES> in traditional Forth. class:word {n/a} {n/a} global all
|
||||
double:const nns- - - Create a constant returning the specified double cell value. class:word {n/a} {n/a} double all
|
||||
double:fetch a-n - - Fetch the double cell values stored in the double cell variable at a. class:word {n/a} {n/a} double all
|
||||
double:store nna- - - Store the double cell values on the stack in the double cell variable at a. class:word {n/a} {n/a} double all
|
||||
double:var nns- - - Create a variable for holding the specified double cell value. class:word {n/a} {n/a} double all
|
||||
drop n- - - Discard the top value on the stack. class:primitive {n/a} {n/a} global all
|
||||
drop-pair nn- - - Remove top two items on the stack. class:word {n/a} {n/a} global all
|
||||
dump-stack - - - Display the items on the data stack. class:word {n/a} {n/a} global all
|
||||
|
|
|
Loading…
Reference in a new issue