Handbook
Glossary
seq ( seq -- parser )
Vocabulary
peg
Inputs
seq
a sequence of parsers
Outputs
parser
a
parser
Word description
Returns a parser that calls all parsers in the given sequence, in order. The parser succeeds if all the parsers succeed, otherwise it fails. The AST produced is a sequence of the AST produced by the individual parsers.
Definition
USING:
kernel
peg.private
;
IN:
peg
:
seq
( seq -- parser )
seq-parser
boa
wrap-peg
;