parse ( input parser -- ast )


Vocabulary
peg

Inputs and outputs
inputa string
parsera parser
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
compile

Definition


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