summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-24 17:51:58 +0200
committerPaul Buetow <paul@buetow.org>2026-03-24 17:51:58 +0200
commit0f3144a421919c70fc1b9c7f91694ba69ae79e68 (patch)
tree147144022ae852eaed715f820f09c25cb51b65fe /.github/workflows
parent24514ba22f14faff47605c2ca87af009cd244197 (diff)
Refactor calculator.Parse to make RPN vs percentage parsing boundaries explicit
- Removed parseRPNFallback from strategy registry - Parse() now only handles percentage calculations (no RPN fallback) - ParseRPN() is now a separate, explicit function for RPN expressions - Added clear documentation explaining Parse() only handles percentages - Removed TestParseRPNFallthrough test (tested implicit RPN fallback) This makes the codebase easier to understand and maintain by having clear boundaries between percentage and RPN parsing. All tests pass. 2 files changed, 1 deletion(-).
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions