beancount icon indicating copy to clipboard operation
beancount copied to clipboard

Access to unevaluated expressions

Open mbudde opened this issue 5 years ago • 0 comments

Currently we evaluate numerical expressions while parsing. I guess for some use-cases it is more useful to get access to the expression instead. I'm thinking it would be great if we could give access to both.

One option could be to replace Decimal with something like NumExpr { result: Decimal, source: Option<&str> } at the places where expressions are allowed.

mbudde avatar May 18 '20 20:05 mbudde