An open API service indexing awesome lists of open source software.

https://github.com/pirtleshell/expression_parser

a simple expression parser written in rust :1234:
https://github.com/pirtleshell/expression_parser

Last synced: 12 months ago
JSON representation

a simple expression parser written in rust :1234:

Awesome Lists containing this project

README

          

# expression_parser

A simple expression parser written in Rust

## why

I wrote this to experiment with trees in rust and to practice some sweet design patterns. I'm hoping to make a more complicated parser in the future, so this was just some practice. It does addition, subtraction, multiplication, division, & negation. Follows order of operations with support for parentheses, too!

# license

© 2020, [Robert Pirtle](https://robert.pirtle.xyz/). licensed under [MIT](https://choosealicense.com/licenses/mit/).