Abacus is a simple interactive calculator CLI with support for variables, lambdas, comparison checks, and math functions.
This is free and open source software.
Key Features
- History of expressions and Tab completion of all math functions and defined variables.
- Importing from file lets you keep variable and lambda definitions in a file and import it on load.
- Custom prompt symbol lets you use a custom string as a prompt prefix.
- Evaluate and exit lets you evaluate an expression and exit without entering REPL mode.
- All common operations (+ – * / ^ % etc).
- Last answers are saved in the variables ans and answer by default.
- Comparisons <, ==, >, <=, >=.
- E, Pi, Phi.
- Single arity functions: sqrt, cbrt, ln, log, log2, log10, floor, ceil, exp, sin, cos, tan, abs, round.
- Two arity functions (accept 2-tuples): round (number, digits of precision), log (number, base),
- N-arity functions (accept n-tuples): min, max, avg, from, until, reverse, nth
- Reserved names.
- Lambda expression support.
Website: github.com/viktordanov/abacus
Support:
Developer: Viktor Danov
License: MIT License

abacus is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Terminal-Based Calculators | |
|---|---|
| Genius | Desktop calculator, an educational tool in mathematics, and for research |
| Numbat | High precision scientific calculator supporting physical units |
| kalker | Calculator with math syntax |
| qalc | Symbolic maths, arbitrary precision and unit conversion |
| calc | C-style arbitrary precision calculator |
| concalc | Parser-algorithm of extcalc |
| wcalc | Uses intuitive expressions and implicit multiplication |
| pcalc | Terminal calculator made for programmers |
| bcal | Storage expression calculator |
| numr | Text calculator for natural language expressions |
| kalc | Complex numbers, 2d/3d graphing, arbitrary precision calculator |
| clac | Stack-based calculator with postfix notation |
| CalcPy | Calculator and advanced math solver using Python, IPython and SymPy |
| fortbite | Powerful mathematical calculator leveraging Fortran’s strengt |
| abacus | Simple interactive calculator CLI |
| Daisy | General-purpose TUI scientific calculator |
| Quich | Just an advanced terminal calculator |
| orpie | curses-based RPN calculator |
| val | Arbitrary-precision language with variables, functions and complex numbers |
| Squiid | Advanced calculator supporting both RPN and algebraic input |
| mucalc | Convenient calculator for the command line |
| HIP35 | HP-35 RPN calculator emulator |
| csc | Scientific maths using 64-bit floating-point arithmetic |
| RCalc | Reverse Polish Notation calculator |
| ec | RPN calculator with array operations and quotations |
| coriolinus-calc | CLI calculator app and library |
| spigot | Streaming exact real calculator |
| Rink | Provides unit conversions, arbitrary precision and dimensional analysis |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.