Proton is a simple math engine I am working on to learn more about parsing and evaluation of expressions.
Rust(edition 2024 or later)cargo(for building, running, and testing)
To check if you have Rust and Cargo installed, run:
rustc --version
cargo --versionRust and cargo can be installed by following the instructions at rustup.rs.
Example usage can be found in the examples/ directory. To run the main example, use:
cargo run --example exampleThis demonstrates how to build, evaluate, and manipulate mathematical expressions using the Proton engine.
Automated tests are located in the tests/ directory. To run all tests, use:
cargo testThis will execute the test suite to verify the correctness of expression evaluation and other core features.
Currently, the
main.rsis a placeholder. It is kept for potential future use if this project is extended as a CLI or an API service.
Licensed under the MIT License