Handbook
Glossary
(parse-cleave-like) ( acc -- acc continue? )
Vocabulary
combinators
.
syntax
.
private
Inputs
acc
an
object
Outputs
acc
an
object
continue?
an
object
Definition
USING:
combinators.syntax
kernel
quotations
sequences
;
IN:
combinators.syntax.private
:
(parse-cleave-like)
( acc -- acc continue? )
[
[
\
|
eq?
]
[
\
]
eq?
]
bi
or
]
parse-until-pred
unclip-last
[
>quotation
suffix!
]
dip
\
|
eq?
;