Handbook
Glossary
parse ( input parser -- ast )
Vocabulary
peg
Inputs
input
a
string
parser
a
parser
Outputs
ast
an
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
USING:
accessors
;
IN:
peg
:
parse
( input parser -- ast )
(parse)
ast>>
;