evalexpr icon indicating copy to clipboard operation
evalexpr copied to clipboard

A powerful expression evaluation crate 🦀.

Results 50 evalexpr issues
Sort by recently updated
recently updated
newest added

Looking for support for custom IntType, FloatType within an evaluation. In particular, was hoping to us evalexpr with [decimal](https://crates.io/crates/decimal). It would be better to be able to provide these types...

enhancement

I want to get value at the index from a tuple. e.g. `eval("(1,2,3,4).4") // 4 `

enhancement

Is it possible to insert logic into expressions? `expr = "true ? 1 : 0"` or `expr = "if true { 1 } else { 0 }"`

enhancement

We are trying to use evalexpr, but a small missing detail is preventing us from using it effectively. The way the contract of `Context` is defined, `get_value()` is forced to...

Having a chain like `a=5,5;a=5,5;a=5,5;` should parse correctly, since the precedence of semicolon is lower. But it does not, and generates a deep tree instead.

bug

Add a context type that does not enforce variables to be typed

enhancement

This crate soon provides a premade context, and if more are added in the future, the question arises of how a user would build a set of contexts. Ideally there...

enhancement

This would remove the string lookup overhead to call a function when evaluating.

enhancement
performance

Root node is a little bit of bloat inside expression trees. Can parsing be realized without it?

enhancement