prejsx_math 0.1.0

A minimal math expression parser using only Rust's standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# prejsx_math


A minimal math expression parser using only Rust's standard library. Supports `+`, `-`, `*`, `/`, parentheses, and negative numbers.

## Example


```rust
use prejsx_math::eval_math;

fn main() {
    let result = eval_math("2 * (3 + 1)").unwrap();
    println!("{}", result); // 8.0
}
```