A smol Computer Algebra System.
Creating an AST is easiest done by parsing it from a string:
use *;
let mut n = try_from.unwrap;
Though an AST may be constructed manually (see [minicas_core] tests for examples of this).
Once you have an AST, you can typically work with it by calling methods on it, such as finite_eval():
# use *;
// EG: Evaluating an expression with variables
assert_eq!;
// EG: Interval arithmetic
assert_eq!;
Theres also a number of algorithm modules in [core::ast]:
# use *;
use *;
// EG: Rearrange the equation
let mut lhs = new_var;
make_subject;
assert_eq!;
// EG: Constant folding
let mut n = try_from.unwrap;
assert_eq!;
assert_eq!;