mirror of
https://git.sr.ht/~crc_/retroforth
synced 2024-11-16 19:48:56 +01:00
words: add prefix:\ to glossary
FossilOrigin-Name: bbfcecaacf404457b0b1126292e00020638f0cacb1900d6d30f4f6b4e9f1df0f
This commit is contained in:
parent
5ea418302c
commit
1eca177b19
5 changed files with 35 additions and 0 deletions
|
@ -1105,6 +1105,9 @@ Process token as a new definition.
|
|||
prefix:@ D: s-n A: - F: -
|
||||
Fetch from a stored variable.
|
||||
|
||||
prefix:\ D: s- A: - F: -
|
||||
Process token as an instruction bundle.
|
||||
|
||||
prefix:` D: s- A: - F: -
|
||||
Process token as a bytecode.
|
||||
|
||||
|
|
|
@ -367,6 +367,7 @@ prefix:( D: s- A: - F: -
|
|||
prefix:. D: s- A: - F: -F
|
||||
prefix:: D: s- A: - F: -
|
||||
prefix:@ D: s-n A: - F: -
|
||||
prefix:\ D: s- A: - F: -
|
||||
prefix:` D: s- A: - F: -
|
||||
prefix:| D: s- A: - F: -
|
||||
primitive D: - A: - F: -
|
||||
|
|
|
@ -2838,6 +2838,19 @@
|
|||
<p>Compile Time:
|
||||
Compile the code to fetch a value from a named variable into the current definition.</p>
|
||||
|
||||
<table><tr><td><b>Class:</b> </td><td>class:macro</td></tr><tr><td><b>Namespace:</b> </td><td>prefix</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
|
||||
<h2>prefix:\</h2>
|
||||
<div style='margin-left: 1em;'><p><b>Data:</b> s-<br>
|
||||
<b>Addr:</b> -<br>
|
||||
<b>Float:</b> -</p>
|
||||
</div>
|
||||
<p>Process token as an instruction bundle.</p>
|
||||
<p>Interpret Time:
|
||||
Discard the string.</p>
|
||||
|
||||
<p>Compile Time:
|
||||
Assemble the opcodes in the string and use `,` to inline it into the current definition.</p>
|
||||
|
||||
<table><tr><td><b>Class:</b> </td><td>class:macro</td></tr><tr><td><b>Namespace:</b> </td><td>prefix</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
|
||||
<h2>prefix:`</h2>
|
||||
<div style='margin-left: 1em;'><p><b>Data:</b> s-<br>
|
||||
|
|
|
@ -4356,6 +4356,23 @@ Compile Time:
|
|||
Class: class:macro | Namespace: prefix | Interface Layer: all
|
||||
------------------------------------------------------------------------
|
||||
|
||||
prefix:\
|
||||
|
||||
Data: s-
|
||||
Addr: -
|
||||
Float: -
|
||||
|
||||
Process token as an instruction bundle.
|
||||
|
||||
Interpret Time:
|
||||
Discard the string.
|
||||
|
||||
Compile Time:
|
||||
Assemble the opcodes in the string and use `,` to inline it into the current definition.
|
||||
|
||||
Class: class:macro | Namespace: prefix | Interface Layer: all
|
||||
------------------------------------------------------------------------
|
||||
|
||||
prefix:`
|
||||
|
||||
Data: s-
|
||||
|
|
|
@ -367,6 +367,7 @@ prefix:( s- - - Process token as a comment. Discard the string. Discard the stri
|
|||
prefix:. s- - -F Interpret time: convert string to a floating point value. Compile time: convert string to a floating point value and compile code to push this value to the float stack. class:macro {n/a} {n/a} prefix rre
|
||||
prefix:: s- - - Process token as a new definition. Create a header pointing to `here` with the provided string as the name. Sets class to `class:word`. class:macro {n/a} {n/a} prefix all
|
||||
prefix:@ s-n - - Fetch from a stored variable. Fetch a value from a named variable. Compile the code to fetch a value from a named variable into the current definition. class:macro {n/a} {n/a} prefix all
|
||||
prefix:\ s- - - Process token as an instruction bundle. Discard the string. Assemble the opcodes in the string and use `,` to inline it into the current definition. class:macro {n/a} {n/a} prefix all
|
||||
prefix:` s- - - Process token as a bytecode. Discard the string. Convert the string to a number and use `,` to inline it into the current definition. class:macro {n/a} {n/a} prefix all
|
||||
prefix:| s- - - POSTPONE equivalent. Discard the string. Convert the string to a number and use `,` to inline it into the current definition. class:macro {n/a} {n/a} prefix all
|
||||
primitive - - - Change the class of the most recently defined word to `class:primitive`. class:word {n/a} {n/a} global all
|
||||
|
|
Can't render this file because it contains an unexpected character in line 62 and column 55.
|
Loading…
Reference in a new issue