Handbook
Glossary
(parse-lines) ( lexer -- quot )
Vocabulary
parser
Inputs
lexer
a
lexer
Outputs
quot
a new
quotation
Word description
Parses Factor source code using a custom lexer. The vocabulary search path is taken from the current scope.
Errors
Throws a
lexer-error
if the input is malformed.
Definition
USING:
lexer
quotations
;
IN:
parser
:
(parse-lines)
( lexer -- quot )
[
f
parse-until
>quotation
]
with-lexer
;