Handbook
Glossary
repeat1 ( parser -- parser )
Vocabulary
peg
Inputs
parser
a
parser
Outputs
parser
a
parser
Word description
Returns a parser that parses 1 or more instances of the
parser
. The AST produced is an array of the AST produced by the
parser
.
Definition
USING:
kernel
peg.private
;
IN:
peg
:
repeat1
( parser -- parser )
repeat1-parser
boa
wrap-peg
;