summaryrefslogtreecommitdiff
path: root/internal/rpn/operations.go
AgeCommit message (Expand)Author
2026-05-24fix(rpn): change variadic NewRPN/NewOperations to single optional MetricReade...Paul Buetow
2026-05-24fix(rpn): complete DIP for MetricRegistry — use MetricReader/MetricWriter i...Paul Buetow
2026-05-24fix(rpn): introduce MetricReader interface for testability (task 7k)Paul Buetow
2026-05-24fix(rpn): DIP violation — NewOperatorRegistry accepts OperatorProvider inte...Paul Buetow
2026-05-24rpn: decouple RPN from concrete *Operations type (task aj)Paul Buetow
2026-05-24refactor(rpn): split ArithmeticOperator into 3 interfaces (task 9j)Paul Buetow
2026-05-24fix(rpn): remove duplicate ConstantsProvider initialization (task 4j)Paul Buetow
2026-05-24rpn: remove combined Operator interface per ISPPaul Buetow
2026-05-23doc: fix misleading comment about constants provider in NewOperationsPaul Buetow
2026-05-23refactor: share ConstantsProvider between RPN and OperationsPaul Buetow
2026-05-23refactor: split operations.go into focused files (Separation of Concerns)Paul Buetow
2026-05-23refactor: reduce GetMetricRegistry() global singleton usage (DIP)Paul Buetow
2026-05-22refactor(rpn): split StringNum/Symbol out of Number interface (LSP fix)Paul Buetow
2026-05-22Merge branch 'develop': implement custom metric commandsPaul Buetow
2026-05-22feat: implement custom metric commands (define, undefine, list, show)Paul Buetow
2026-05-22doc(rpn): document Operator interface design trade-offPaul Buetow
2026-05-22rpn: eliminate duplicated prefixMode state between RPN and OperationsPaul Buetow
2026-05-22wire prefixMode from RPN into Operations for metric-aware arithmeticPaul Buetow
2026-05-22feat(rpn): implement metric subcommandsPaul Buetow
2026-05-22feat: implement convert operator for metric unit conversionPaul Buetow
2026-05-22refactor(rpn): remove duplicate AssignLeft/AssignRight from OperatorPaul Buetow
2026-05-22refactor(rpn): split operations.go into 7 focused filesPaul Buetow
2026-05-22refactor(rpn): remove dead arithmetic methods from Number interfacePaul Buetow
2026-05-22refactor(rpn): pass MetricRegistry to metric helper functionsPaul Buetow
2026-05-22fix(rpn): replace bare o.mode with o.GetMode() in arithmetic methodsPaul Buetow
2026-05-22refactor(rpn): inject MetricRegistry into Operations structPaul Buetow
2026-05-22feat(rpn): implement metric-aware arithmetic operationsPaul Buetow
2026-04-11refactor: extract repeated stack-popping logic into popAll helperPaul Buetow
2026-04-11feat: implement binary exponentiation with ** operatorPaul Buetow
2026-04-11refactor: reduce RPN operation error handling boilerplate with helper functionsPaul Buetow
2026-04-11Refactor number.go to return errors instead of panickingPaul Buetow
2026-03-26fix: Register < operator and fix > operator mappingPaul Buetow
2026-03-26feat: Add integration tests for variable assignments and fix RPN parser bugsPaul Buetow
2026-03-25rpn: Fix := and =: operators semanticsPaul Buetow
2026-03-25rpn: Fix =: operator pop order for REPL modePaul Buetow
2026-03-25rpn: Fix AssignLeft/AssignRight to handle StringNum correctlyPaul Buetow
2026-03-25rpn: Add := and =: assignment operators with = synonymPaul Buetow
2026-03-25code-quality: Various improvements to code quality and thread safetyPaul Buetow
2026-03-25Fix Ln operation and add comprehensive testsPaul Buetow
2026-03-25refactor: Refactor RPN to use Number interface uniformly for stack valuesPaul Buetow
2026-03-25feat: Implement boolean operators and mixed boolean-numeric arithmeticPaul Buetow
2026-03-25ci: Update Magefile to include shortcuts for build, test, lint, and releasePaul Buetow
2026-03-25refactor: Update Show command to format boolean values correctlyPaul Buetow
2026-03-25docs: Add SPDX license headers to all .go source filesPaul Buetow
2026-03-25refactor: Add error wrapping with %w where appropriatePaul Buetow
2026-03-25fix: Handle Value types correctly in RPN operationsPaul Buetow
2026-03-25docs: Add comprehensive Go documentation for REPL functionsPaul Buetow
2026-03-24feat: Add RPN mode, rational number support, and improve REPLPaul Buetow
2026-03-23Refactor rpn.handleOperator to use operator registry instead of switch statementPaul Buetow
2026-03-23Fix errcheck issues in cmd/perc, internal/repl, and internal/rpn packagesPaul Buetow