optional ( parser -- parser )


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, otherwise it is the AST produced by parser.

Definition