Handbook
Glossary
scan-object ( -- object )
Factor handbook
»
The language
»
Parsing words
»
Reading ahead
Prev:
scan-number ( -- number )
Next:
?scan-token ( -- str/f )
Vocabulary
parser
Inputs
None
Outputs
object
an
object
Word description
Parses a literal representation of an object.
Notes
This word should only be called from parsing words.
Definition
USING:
kernel
sequences
words
;
IN:
parser
:
scan-object
( -- object )
scan-datum
dup
parsing-word?
[
V{
}
clone
swap
execute-parsing
first
]
when
;