evalexpr
evalexpr copied to clipboard
A powerful expression evaluation crate 🦀.
Instead of converting numbers with `as`, the newly stabilized `try_from` should be used.
Parsing is done via multiple caching vectors. Those could be avoided by using iterators.
At some point in the future, this crate should use no unwraps, neither in code nor tests nor documentation.
If an operator that can handle either strings or other types is passed a mixture of strings and other types, then it should convert the other types to string automatically....
Tuples are required to be created with the comma operator as of now. It should be possible to create size one tuples using parentheses as well.
Not sure if this is supported right now, but it should be at some point.
Give users that use evalexpr to work on a large amount of variables a standard syntax to modularize them. This should be done with namespaces. Example: `a::b::c` is the variable...