kondrak / tinyexpr-rs

Tiny recursive descent expression parser, compiler, and evaluation engine for math expressions.
MIT License
11 stars 1 forks source link

Figure out bound variables #1

Open kondrak opened 8 years ago

kondrak commented 8 years ago

Original library makes it possible to pass variables into expressions, evaluate it, then modify the variables and get an updated result without re-parsing the entire expression. Would be nice to have it too (store references?)

kondrak commented 8 years ago

This will have an impact on the bound and address variables which will have to change to something different. Bound and addr were void*, they should probably be associated strictly with variables now and nothing else.