Handbook
Glossary
token ( string -- parser )
Vocabulary
peg
Inputs
string
a
string
Outputs
parser
a
parser
Word description
Returns a parser that matches the given string.
Definition
USING:
kernel
peg.private
;
IN:
peg
:
token
( string -- parser )
token-parser
boa
wrap-peg
;