15.6.2.1909.20 NAME>INTERPRET name-to-interpret TOOLS EXT
( nt -- xt | 0 )
xt represents the interpretation semantics of the word nt. If nt has no interpretation semantics, NAME>INTERPRET returns 0.
Note:
This standard does not define the interpretation semantics of
some words, but systems are allowed to do so.
See:
ContributeContributions
JennyBrien [88] How can the zero result be used in a Standard program?Request for clarification2019-07-02 10:29:22
ruv [129] NAME>INTERPRET wordingProposal2020-02-20 09:55:14
This contribution has been moved to the proposal section.
lmr [321] NAME<INTERPRET, NAME>TO, NAME<TORequest for clarification2023-12-20 06:09:31
It might be useful to also have NAME<INTERPRET; but I suppose that use care is covered by DEFER and friends.
More interestingly, NAME<>TO would allow programming the behavior of TO explicitly, both for the user and when implementing the kernel.