GEN::


Vocabulary
generators

Syntax
GEN:: word ( stack -- generator ) definition... ;


Word description
Creates a generator word in the current vocabulary. When executed, the word's inputs will be captured from the stack and bound to them to lexical input variables from left to right. A generator object will be returned. The output of generator words must always be only a single value (the generator).

Definition