1token ( ch -- parser )


Vocabulary
peg.parsers

Inputs
cha character


Outputs
parsera parser


Word description
Calls 1string on a character and returns a parser that matches that character.

Examples
USING: peg peg.parsers prettyprint ; "a" CHAR: a 1token parse .
"a"


See also
string-parser

Definition