diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-24 17:51:58 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-24 17:51:58 +0200 |
| commit | 0f3144a421919c70fc1b9c7f91694ba69ae79e68 (patch) | |
| tree | 147144022ae852eaed715f820f09c25cb51b65fe /.github/workflows | |
| parent | 24514ba22f14faff47605c2ca87af009cd244197 (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
