15.6.2.1909.10
NAME>COMPILE
name-to-compile
TOOLS EXT
 
( nt -- x xt )

x xt represents the compilation semantics of the word nt. The returned xt has the stack effect ( i * x x -- j * x ). Executing xt consumes x and performs the compilation semantics of the word represented by nt.

Rationale:
In a traditional xt+immediate-flag system, the x xt returned by NAME>COMPILE is typically xt1 xt2, where xt1 is the xt of the word under consideration, and xt2 is the xt of EXECUTE (for immediate words) or COMPILE, (for words with default compilation semantics).

If you want to POSTPONE nt, you can do so with

NAME>COMPILE SWAP POSTPONE LITERAL COMPILE,