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

Serialization for non-default numbers #23

Closed bertiqwerty closed 2 years ago

bertiqwerty commented 2 years ago

Serialization currently assumes that the default number regex-pattern is used to identify numbers or operands. In case one tries to serialize and de-serialize an expression that was created, e.g., by FlatEx::from_regex de-serialization can lead to parse errors or strange behavior. This includes the type Val that can be activated with the feature value.