DEFER ( "<spaces>name" -- ) CORE-EXT X:deferred
Skip leading space delimiters. Parse name delimited by a space. Create
a definition for name with the execution semantics defined below.
name Execution: ( i*x -- j*x )
Execute xt associated with name. An ambiguous condition exists if
name has not been associated with an xt yet.
IS CORE-EXT X:deferred
- Interpretation: ( xt "<spaces>name" -- )
- Skip leading spaces and parse name delimited by a space. Set
name to execute xt. An ambiguous condition exists if name was not defined
by
DEFER
.
- Compilation: ( "<spaces>name" -- )
- Skip leading spaces
and parse name delimited by a space. Append the run-time semantics
given below to the current definition. An ambiguous condition exists
if name was not defined by
DEFER
.
- Run-time: ( xt -- )
- Set name to execute xt.
An ambiguous condition exists if POSTPONE, [COMPILE], ['] or ' is applied
to IS.
DEFER@ ( xt1 -- xt2 ) CORE-EXT X:deferred
xt2 is the xt associated with the deferred word corresponding to xt1.
An ambiguous condition exists if xt1 is not for a word defined via
DEFER, or if the deferred word has not been associated with an xt yet.
DEFER! ( xt2 xt1 -- ) CORE-EXT X:deferred
Set the word xt1 to execute xt2. An ambiguous condition exists if xt1
is not for a word defined via DEFER.
ACTION-OF CORE-EXT X:deferred
- Interpretation: ( "<spaces>name" -- xt )
- Skip leading spaces and parse name delimited by a space. xt is
the xt associated with name. An ambiguous condition exists if name
was not defined by
DEFER
, or if the name has not been
associated with an xt yet.
- Compilation: ( "<spaces>name" -- )
- Skip leading spaces and parse name delimited by a space. Append
the run-time semantics given below to the current definition. An
ambiguous condition exists if name was not defined by
DEFER
.
- Run-time: ( -- xt )
- xt is the execution token associated with name when the run-time
semantics is performed. An ambiguous condition exists if name has not
been associated with an xt yet.
An ambiguous condition exists if POSTPONE, [COMPILE], ['] or ' is applied
to ACTION-OF.