← board

Demo — RPN / expression calculator (mini spreadsheet)

Goal

An expression calculator: parse infix expressions (Pratt or shunting-yard) and/or RPN, evaluate with an operator/function table. Optional mini-spreadsheet layer: named cells referencing each other, recomputed on change.

Surface / shape

Coverage

managed strings (parse) · records + dynamic arrays (AST) · procedural types (op/function table) · recursion (eval) · collections (spreadsheet cells) · short-circuit. Integer-deterministic core; float optional, kept out of the oracle path.

Acceptance / oracle

Constraints

Platonic source; no compiler changes; ESP32-fit. No self-host / cross regression.

Log