Calculator
is a terminal based calculator implemented entirely in C.
calc <formula>
git clone [email protected]:Anthhon/calculator.git
cd calculator
make build-linux # or make build-windows
./build/calc -t
After using these commands above, you should see a sequence of successful messages on your screen, signalizing that the application is working correctly. After that, the program can be installed automatically into your Linux system by using this command:
make install-linux
- Arguments parsing
- Implement lexer to tokenize input
- Implement formula interpreter
- Create test script
- Handle 4 basic operations (+, -, *, /)
- Handle number powering (^)
- Negative number operations
- Float number operations
- Handle {[()]} symbols
- Handle logarithmic
If you have any questions, suggestions, or need assistance, feel free to reach out to the project maintainers by opening an issue.
Also, don't forget to check the project roadmap section and see if anything interest you.
We appreciate your interest in contributing to calculator
and look forward to your contributions!