bertiqwerty / exmex

Math parser and evaluator in Rust, capable of partial differentiation, allows the use of custom operators.
Apache License 2.0
39 stars 6 forks source link

Unparse should take original variable names into account #5

Closed bertiqwerty closed 3 years ago

bertiqwerty commented 3 years ago

Currently, variables are named x0, x1, ... after unparsing.

Since we keep track of the original names anyway to handle overloaded operators, we can also use the original names.