https://github.com/squiidz/yard
Shunting yard in rust
https://github.com/squiidz/yard
parser reverse-polish-notation rust shunting-yard-algorithm
Last synced: about 1 year ago
JSON representation
Shunting yard in rust
- Host: GitHub
- URL: https://github.com/squiidz/yard
- Owner: squiidz
- Created: 2017-03-15T22:30:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-02T00:41:16.000Z (over 4 years ago)
- Last Synced: 2025-03-26T10:52:20.335Z (about 1 year ago)
- Topics: parser, reverse-polish-notation, rust, shunting-yard-algorithm
- Language: Rust
- Homepage:
- Size: 29.3 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yard  [ ](https://app.codeship.com/projects/208359)
shunting yard algorithm in rust

## Example
``` rust
extern crate yard;
fn main() {
let equation = "1 + 2 * 3";
println!("{}", yard::evaluate(equation).unwrap());
}
```