21 releases (8 breaking)
0.9.2 | Apr 11, 2024 |
---|---|
0.9.0 | Feb 3, 2024 |
0.1.3 | Dec 31, 2023 |
#304 in Command-line interface
164 downloads per month
96KB
2.5K
SLoC
qcalc
qcalc is a simple and effective calculator with a terminal user interface. It serves to avoid having to open up a web browser, phone or desktop calculator application for those who work from the terminal
Usage
- Install cargo (instructions here)
- Install the binary
cargo install qcalc
- Run with
qcalc
- Enjoy!
Disclaimer of Warranty
The software is provided "as is," without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.
Features
- Define customs function which are closures with the syntax
fn myfun(x, y) x + y
- Saves expressions which you can re-populate your input field with
- Ability to save calculation results in variables
- Built in functions
- Clearing past expressions
- Resetting variables
- Binary and hexadecimal inputs eg. "0xff + 0b10 / 10"
Feature requests / Bug reports
- Feel free to open an issue and i'll look into it
Dependencies
~6–13MB
~121K SLoC