Numbers are added to the stack by the outer interpreter, and they can be used just fine in execute mode, but this doesn't get reflected in a colon definition. A word such as LIT (literal handler) is probably needed to force the interpreter to add the stack number to memory when it sees the lit word.. or something like that. It might need to be immediate as well.
Numbers are added to the stack by the outer interpreter, and they can be used just fine in execute mode, but this doesn't get reflected in a colon definition. A word such as
LIT
(literal handler) is probably needed to force the interpreter to add the stack number to memory when it sees thelit
word.. or something like that.It might need to beimmediate
as well.