execute( - Factor Documentation (original) (raw)
Vocabulary
syntax
Syntax
execute( stack -- effect )
Word description
Calls the word on the top of the stack, asserting that it has the given stack effect. The word does not need to be known at compile time.
Examples
IN: scratchpad : eat ( -- ) ; : sleep ( -- ) ; : hack ( -- ) ; { eat sleep hack } [ execute( -- ) ] each
See also
execute
Definition