Handbook
Glossary
expr-ast ( input -- ast )
Vocabulary
rosetta-code
.
arithmetic-evaluation
Inputs
input
an
object
Outputs
ast
an
object
Definition
USING:
accessors
namespaces
peg
peg.private
;
IN:
rosetta-code.arithmetic-evaluation
:
expr-ast
( input -- ast )
[
\
( gensym )
perform-parse
]
with-scope
check-parse-result
ast>>
;