Handbook
Glossary
(repeat) ( quot: ( -- result/f ) result -- result )
Vocabulary
peg.private
Inputs
quot
a
quotation
with stack effect
( -- result/f )
result
an
object
Outputs
result
an
object
Definition
USING:
accessors
kernel
sequences
;
IN:
peg.private
:
(repeat)
( quot: ( -- result/f ) result -- result )
over
call
[
[
remaining>>
>>remaining
]
[
ast>>
]
bi
over
ast>>
push
(repeat)
]
[
nip
]
if*
;
inline
recursive