>>>>> Igbanam Ogbuluijah <[email protected]> writes:

> Good stuff! Thanks for the pointer, John.
>
> I'll sit with this over the weekend and come up with a proposal on what the
> feature-extension should look like. If we agree on that, I'll throw up an
> issue on Github and try to tinker through.

OK, here’s the “right” code: it accepts $expr — where expr can be any
identifier — and evaluates this expression in the context of the account of
the posting being matched against. Thus, $account and $account_base will have
the same meaning, but now derived from actual evaluation rather than
hard-coding the implementation of those two identifiers.

The true completion of this feature would be to also support “$(expr)”, where
nested parentheses are handled correctly, so that you can say “$(foo(123))”.

John

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/m2ed87wtcg.fsf%40gmail.com.

Attachment: patch
Description: Binary data

Reply via email to