feat(v4.0.0): the text assembler takes &NAME and CONST+N
&NAME is the address of a word as a literal; CONST+N is a loader constant plus an offset as one literal, so that a capsule file can address the cells of its scratch area without adding at run time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
26a6a16537
commit
44ffd261bb
@@ -26,6 +26,10 @@
|
||||
* 123 -5 $FF a literal: `@p` and its value. Decimal, or hex after $.
|
||||
* It must fit a cell, as a signed or an unsigned number.
|
||||
* CONST a constant given by v4_text_constant: a literal.
|
||||
* CONST+N the constant plus the number N: one literal. (Only when
|
||||
* the whole token is not itself a name.)
|
||||
* &NAME the address of the word NAME, which must already be
|
||||
* defined: a literal.
|
||||
* ; + dup a! ... an opcode. `@p` cannot be written; write the number.
|
||||
* jump X call X if X -if X next X
|
||||
* a branch to X: a label of this word if it has one of
|
||||
|
||||
Reference in New Issue
Block a user