iamonuwa / shaunting_yard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shaunting Yard Algorithm

Shaunting Yard Algorithm written in Rust.

Description

Shunting yard algorithm is a method for parsing arithmetical or logical expressions, or a combination of both, specified in infix notation. See more

Getting Started

git clone https://github.com/iamonuwa/shaunting_yard.git
cd shaunting_yard
cargo test --lib

Operators available

  • a is +

  • b is -

  • c is *

  • d is /

  • e is (

  • f is )

Todo

  • add more tests

About

License:MIT License


Languages

Language:Rust 100.0%