summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-23 20:28:36 +0300
committerPaul Buetow <paul@buetow.org>2026-05-23 20:28:36 +0300
commitf075b188fde9e201f3825b16ce9f562282854a49 (patch)
tree89303f7779d7ab8b43881f79de277dbed69a1902 /cmd
parent1042acacd2d875afec9e56a021cd3d254044de9d (diff)
refactor: replace hardcoded operator whitelist with registry lookups (OCP)
Add IsStandardOperator/IsHyperOperator forwarding methods on *RPN that delegate to OperatorRegistry. Replace the hardcoded string literal whitelist in RPNHandler.Handle() with dynamic registry lookups. New operators are now automatically recognized without updating handlers.go. Also fixes missing operators in the old whitelist (e.g., comparison operators, assignment operators).
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions