summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 16:59:25 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 16:59:25 +0200
commit69b7cb866a6311569c76b67d9d6de06099ad7bdf (patch)
treeca143c5f3edceec1c235fd83a9c1d05045175b6b
parenta775479b9a059cbd7da8f6973f18574624586a29 (diff)
refactor: RPN stack already extended to hold both numbers and booleans
- Value type created as variant type holding float64 or bool - Stack uses []Value to store values - Push/Pop work with Value type - toNumber() converts Value to float64 for arithmetic See Value type in internal/rpn/variables.go for implementation.
0 files changed, 0 insertions, 0 deletions