# evalbit
A simple logical expression evaluation crate with RPN convertion

## Quickstart
Add `evalbit` as dependency to your `Cargo.toml`:
```toml
[dependencies]
evalbit = "<desired version>"
```
Then you can use `evalbit` to parse and evaluate expressions like this:
```rust
use evalbit::*;
// and you can directly execute
assert_eq!(eval("0 | (1 ^ 2 & 3)", &[true, true, false, false]), true));
```
## Operators
The operator precedences are equal to Rust's ones.
## License
This crate is published under the [ISC License](./LICENSE).