#shunting #algorithm #divide #fact #variables #named #yard

bin+lib shunting-yard

A simple shunting yard algorithm implementation in Rust

1 stable release

1.0.2 Jun 15, 2024

#6 in #divide

MIT license

10KB
249 lines

Shunting-Yard implemented in Rust

my teammates wanted to use C++ but the glory of Rust compelled me to make this

features

  • +, - : plus and minus
  • *, - : multiply and divide
  • ^ : pawa
  • ! : fact
  • named variables
  • etc

Dependencies

~0.5–10MB
~54K SLoC