Handbook
Glossary
(sequence-parser) ( -- parser )
Vocabulary
peg
.
ebnf
.
private
Inputs
None
Outputs
parser
an
object
Definition
USING:
kernel
make
peg
peg.parsers
sequences
strings
;
IN:
peg.ebnf.private
:
(sequence-parser)
( -- parser )
[
[
ensure-not-parser
sp
,
ensure-parser
sp
,
element-parser
sp
,
group-parser
sp
,
ignore-parser
sp
,
ignore-repeat0-parser
sp
,
ignore-repeat1-parser
sp
,
repeat0-parser
sp
,
repeat1-parser
sp
,
optional-parser
sp
,
]
choice*
[
dup
,
":"
syntax
,
"a-zA-Z"
range-pattern
repeat1
[
>string
]
action
,
]
seq*
[
first2
<ebnf-var>
]
action
,
,
]
choice*
;