Vocabulary
literals

Syntax
$ word


Word description
Executes word at parse time and adds the result(s) to the parser accumulator.

Notes
word 's definition is looked up and call ed at parse time, so words that reference words in the current compilation unit cannot be used with $.

Examples
USING: kernel literals prettyprint ; IN: scratchpad CONSTANT: five 5 { $ five } .
{ 5 }

USING: kernel literals prettyprint ; IN: scratchpad : seven-eleven ( -- a b ) 7 11 ; { $ seven-eleven } .
{ 7 11 }


See also
$[, ${

Definition