Handbook
Glossary
parse-definition ( -- quot )
Factor handbook
»
The language
»
Parsing words
»
Defining words
Prev:
:
Vocabulary
parser
Inputs
None
Outputs
quot
a new
quotation
Word description
Parses objects from parser input until
;
and outputs a quotation with the results.
Examples
This word is used to implement
:
.
Notes
This word should only be called from parsing words.
Definition
USING:
quotations
;
IN:
parser
:
parse-definition
( -- quot )
\
;
parse-until
>quotation
;