Welcome to CLI Calculator Docs
CLI Calculator is a high‑performance, cross‑platform command‑line calculator built for precision, reproducibility, and automation‑centric workflows.
It is designed around computational transparency: evaluation rules are explicit, internal state is intentionally constrained and inspectable, and outputs are stable and predictable—whether you’re using it interactively or inside CI/CD pipelines.
What you can do
- Explore interactively in a REPL with history and named variables
- Evaluate expressions with strict, well-defined precedence and semantics
- Work with matrices for common linear‑algebra tasks
- Use number‑theory utilities like prime factorization and divisor enumeration
- Convert numeral systems (binary, octal, decimal, hexadecimal)
- Persist variables in human‑readable TOML for traceable state
- Run batch scripts with lightweight control flow (
@set,@if,@loop)
Why CLI Calculator
- Deterministic by construction: predictable results, no hidden heuristics
- Automation‑ready: integrates cleanly into shell scripts, tooling, and CI
- Performance‑oriented: implemented in modern C++ with low overhead
- Cross‑platform consistency: uniform behavior across Linux and Windows
- Zero runtime dependencies: compact and portable binary
Who it’s for
- Developers and DevOps engineers who want reliable terminal tooling
- Students and researchers working with math, algorithms, or systems programming
- Power users who prefer keyboard‑driven, scriptable utilities
License
CLI Calculator is released under the Apache License 2.0.
Next steps
- Read the Get Started guide
- Browse the Command Reference