Skip to content

Anthhon/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

Calculator is a terminal based calculator implemented entirely in C.

Usage

calc <formula>

Installing

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

Project Roadmap

  • Arguments parsing
  • Implement lexer to tokenize input
  • Implement formula interpreter
  • Create test script

Features

  • Handle 4 basic operations (+, -, *, /)
  • Handle number powering (^)
  • Negative number operations
  • Float number operations
  • Handle {[()]} symbols
  • Handle logarithmic

Contact

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!

References

About

Terminal based calculator made in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published