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:
- Host: GitHub
- URL: https://github.com/pirtleshell/expression_parser
- Owner: pirtleshell
- License: mit
- Created: 2020-05-18T03:53:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T04:24:22.000Z (about 6 years ago)
- Last Synced: 2025-03-29T15:47:15.382Z (over 1 year ago)
- Language: Rust
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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/).