MAIN:
Factor documentation > Factor handbook > The language > Vocabulary loader
Prev:reload ( name -- )
Next:run ( vocab -- )


Vocabulary
syntax

Syntax
MAIN: word


Inputs and outputs
worda word


Word description
Defines the main entry point for the current vocabulary. This word will be executed when this vocabulary is passed to run.

Definition
USING: accessors parser vocabs.parser ;

IN: syntax

SYNTAX: MAIN: scan-word current-vocab main<< ;