Handbook
Glossary
parse-fully ( 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. Throws an exception if the input is not fully consumed.
See also
parse
Definition
USING:
accessors
;
IN:
peg
:
parse-fully
( input parser -- ast )
(parse)
check-parse-result
ast>>
;