Crates.io | yard |
lib.rs | yard |
version | 1.0.0 |
source | src |
created_at | 2017-03-16 17:55:25.327315 |
updated_at | 2021-08-10 23:58:34.405606 |
description | shunting yard implementation in rust |
homepage | https://github.com/squiidz/yard |
repository | https://github.com/squiidz/yard |
max_upload_size | |
id | 9001 |
size | 14,433 |
shunting yard algorithm in rust
extern crate yard;
fn main() {
let equation = "1 + 2 * 3";
println!("{}", yard::evaluate(equation).unwrap());
}