Tiny Interpreter Part 3 of 3
Tiny Interpreter:
Evaluating
Tiny Interpreter: EvaluatingDEC 1, 2025
The last part walks the tree. This time in Rust, to show another language in the code theme.
| |
One evaluation, step by step
sequenceDiagram participant R as REPL participant P as Parser participant E as Evaluator R->>P: "1 + 2 * 3" P-->>R: tree R->>E: eval(tree) E-->>R: 7