summaryrefslogtreecommitdiff
path: root/docs/cli-usage.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-24 12:41:08 +0300
committerPaul Buetow <paul@buetow.org>2026-05-24 12:41:08 +0300
commit2bdc6bb6bddb107c46ead301c0953050ed7acea3 (patch)
treea62d0ce9cf4d12bd9f9412d0effadb7a35d2e5ae /docs/cli-usage.md
parent8d74ab861d9c80784e6a7692dffea52a1659dd09 (diff)
rpn: split evaluate() into focused helpers
Extract evaluate() (~130 lines) into: - evaluate(): setup and orchestration (20 lines) - evaluateTokens(): token loop with handled tracking (12 lines) - dispatchToken(): single token dispatch (58 lines) - checkVariableName(): variable name detection for assignment (21 lines) - processResult(): final stack state and result formatting (25 lines) All helpers under ~50 lines except dispatchToken (58, close). Behavior preserved - all tests pass.
Diffstat (limited to 'docs/cli-usage.md')
0 files changed, 0 insertions, 0 deletions