Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
parse-definition ( -- quot )
Factor documentation
>
Factor handbook
>
The language
>
Parsing words
>
Defining words
Prev:
:
Vocabulary
parser
Inputs and 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
;