Showcase how to use nom to parse mathematical expressions
This project is part of the Rust Berlin Online Meetup.
Things to practise during the meetup:
- fix the TODOs
- fix the clippy lints
How to run the software:
cargo run -- "1 + 2"
or use more complex expressions:
cargo run -- "2 * 3 + 4 - (3 - 6 * 2) * (4 + 3)"
Unit tests can be run with cargo test
.