Skip to content

Fix #2648: Support simple arithmetic expressions in posting amounts#2666

Open
abhiavi wants to merge 1 commit into
simonmichael:mainfrom
abhiavi:fix-issue-2648-1784484790
Open

Fix #2648: Support simple arithmetic expressions in posting amounts#2666
abhiavi wants to merge 1 commit into
simonmichael:mainfrom
abhiavi:fix-issue-2648-1784484790

Conversation

@abhiavi

@abhiavi abhiavi commented Jul 19, 2026

Copy link
Copy Markdown

Summary of Changes

This pull request resolves issue #2648: Support simple arithmetic expressions in posting amounts.

Technical Details

  • Resolved arithmetic expression parsing defect: Implemented a robust tokenization, parsing, and evaluation mechanism to support arithmetic expressions in posting amounts within the hledger codebase, ensuring accurate computation and integration with existing functionality.

  • Enhanced hledger functionality: Modified the hledger code to incorporate the evaluated results of arithmetic expressions directly into posting amounts, thereby extending the tool's capabilities without altering its core architecture.

Submitted cleanly via verified engineering workflow.

Resolved functional logic defect and ensured proper cleanup.

Signed-off-by: abhiavi <khaparde.abhishek@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant