Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to unevaluated expressions #32

Open
mbudde opened this issue May 18, 2020 · 0 comments
Open

Access to unevaluated expressions #32

mbudde opened this issue May 18, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@mbudde
Copy link
Collaborator

mbudde commented May 18, 2020

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 mbudde added the enhancement New feature or request label May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant