8000 GitHub - bclehmann/calculator: A simple repo for learning rust and getting familiar with parser generators
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A simple repo for learning rust and getting familiar with parser generators

License

Notifications You must be signed in to change notification settings

bclehmann/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calculator

A simple project for learning rust and getting familiar with parser generators.

This uses the pest parser generator to create a 4-function calculator, with support for order of operations and parentheses. In hindsight, I didn't learn much rust (it's barely a hundred lines), but this was a good intro into more complicated grammars. It made compilers and interpreters drastically less intimidating.

About

A simple repo for learning rust and getting familiar with parser generators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0