Custom implementation of calculator which accept string as an input. And handles parentheses and operator precedence properly.
The idea to try implement custom expression calculator raised from the puzzle of Day 18 of Advent of Code 2020.
- Clone repository
- Build calculator with
make build
- Execute calculator with
./calculator
and show help with./calculator --help
About each part I'm also writing article on Dev.to and my personal blog.