Vocabulary
peg

Inputs
parsera parser


Outputs
parsera parser


Word description
Returns a parser that parses 0 or 1 instances of the parser. The AST produced is f if 0 instances are parsed the AST produced is f, otherwise it is the AST produced by parser.

Definition