summaryrefslogtreecommitdiff
path: root/internal
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
commite70b14b4c524152a0120adace5e817f0c4e692d6 (patch)
tree9b8150e48ce2bf0ba3bc5b3d3a7b4cd8011c78ab /internal
parent17dbfca7e626bf4a355265143771c296721952d7 (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.
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions