Skip to content

51ddhesh/proton_lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proton

Proton is a simple math engine I am working on to learn more about parsing and evaluation of expressions.

Requirements

  • Rust (edition 2024 or later)
  • cargo (for building, running, and testing)

To check if you have Rust and Cargo installed, run:

rustc --version
cargo --version

Rust and cargo can be installed by following the instructions at rustup.rs.

Usage

Example usage can be found in the examples/ directory. To run the main example, use:

cargo run --example example

This demonstrates how to build, evaluate, and manipulate mathematical expressions using the Proton engine.

Testing

Automated tests are located in the tests/ directory. To run all tests, use:

cargo test

This will execute the test suite to verify the correctness of expression evaluation and other core features.

Currently, the main.rs is a placeholder. It is kept for potential future use if this project is extended as a CLI or an API service.

License

Licensed under the MIT License

About

A simple math engine written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages