satisfy ( quot -- parser )


Vocabulary
peg

Inputs
quota quotation


Outputs
parsera parser


Word description
Returns a parser that calls the quotation on the first character of the input string, succeeding if that quotation returns true. The AST is the character from the string.

Definition