Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/destinecarma/expression-evaluation-rust
Converts infix expressions to postfix notation and evaluates them efficiently in Rust.
https://github.com/destinecarma/expression-evaluation-rust
Last synced: 15 days ago
JSON representation
Converts infix expressions to postfix notation and evaluates them efficiently in Rust.
- Host: GitHub
- URL: https://github.com/destinecarma/expression-evaluation-rust
- Owner: DestinEcarma
- Created: 2024-03-12T03:11:29.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-03-12T03:29:24.000Z (10 months ago)
- Last Synced: 2024-11-05T15:19:05.526Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Expression Evalution
This repository hosts a Rust implementation for converting infix expressions to postfix notation and subsequently evaluating them. In the realm of computer science and mathematics, infix expressions are commonplace, but evaluating them efficiently requires conversion to postfix form. This project offers a robust solution leveraging Rust's performance and safety features.
Key Features:
* **Infix to Postfix Conversion:** Utilizes efficient algorithms to convert infix expressions to postfix notation.
* **Postfix Evaluation:** Evaluates postfix expressions accurately, ensuring correctness and efficiency.
* **Written in Rust:** Leveraging Rust's safety and performance benefits for reliable and efficient expression evaluation.
* **Modular Design:** Designed with modularity in mind, facilitating easy extension and integration into larger projects.Whether you're exploring fundamental algorithms, diving into Rust development, or seeking a dependable expression evaluation tool, this repository provides a solid foundation.
---
Build the Rust program in release mode using `cargo build --release`. This command compiles the code with optimizations for better performance.
Once the build process is complete, navigate to the `target/release` directory within your project folder. In the `target/release` directory, you will find the compiled executable file. Run the Expression Evaluation program by executing the binary file. For example, if the executable is named `expression-evaluation-rust`, run it using `./expression-evaluation-rust`.