Handbook
Glossary
parse-farkup ( string -- farkup )
Farkup
Prev:
write-farkup ( string -- )
Next:
(write-farkup) ( farkup -- xml )
Vocabulary
farkup
Inputs
string
a
string
Outputs
farkup
a Farkup syntax tree node
Word description
Parses Farkup and outputs a tree of
Farkup syntax tree nodes
.
Definition
USING:
kernel
sequences
splitting
;
IN:
farkup
:
parse-farkup
( string -- farkup )
split-lines
[
dup
empty?
not
]
[
parse-item
]
produce
nip
sift
;