summaryrefslogtreecommitdiff
path: root/coverage.json
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 17:12:13 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 17:12:13 +0200
commit7065e66197d8994ab48dd1d313463d8ff6dfcf2b (patch)
tree772975256463e118b59c362d91077da61ec765fb /coverage.json
parent1c057b7d17feaff8d066b6f5d0fd9d8a5607611a (diff)
refactor: Split internal/rpn/rpn.go into separate files for better SRP
Created new files for better separation of concerns: - internal/rpn/mode.go: CalculationMode enum - internal/rpn/rpn_state.go: RPN struct and state management - internal/rpn/rpn_ops.go: Operator execution and evaluation - internal/rpn/rpn_parse.go: Parsing and assignment handling Original rpn.go now contains only the RPN struct and constructor. Benefits: - Better Single Responsibility Principle (SRP) - Improved code organization and readability - Easier to maintain and test individual components
Diffstat (limited to 'coverage.json')
0 files changed, 0 insertions, 0 deletions