parse ( input parser -- ast )


Vocabulary
peg

Inputs
inputa string
parsera parser


Outputs
astan object


Word description
Given the input string, parse it using the given parser. The result is the abstract syntax tree returned by the parser.

See also
parse-fully

Definition


: parse ( input parser -- ast ) (parse) ast>> ;