TL;DR — Quick Summary

Kalker is a scientific calculator in the terminal. Functions, variables, unit conversions, derivatives, integrals — powerful math with syntax highlighting and auto-complete.

Kalker calculates everything. Scientific, variables, units, calculus — right in the terminal.

Installation

# macOS
brew install kalker

# Cargo
cargo install kalker

Usage

# Launch REPL
kalker

# Expressions
>> 2 + 3 * 4        → 14
>> sqrt(144)         → 12
>> sin(pi/4)         → 0.707...

# Variables and functions
>> x = 42
>> f(x) = x^2 + 2x
>> f(5)              → 35

# Unit conversions
>> 100 °C to °F      → 212
>> 5 kg to lb        → 11.023

# Calculus
>> d/dx x^3          → 3x^2
>> integral(0, 1, x^2)

Summary

  • Kalker is a scientific calculator in the terminal
  • Variables, custom functions, complex numbers
  • Unit conversions between hundreds of units
  • Symbolic differentiation and numerical integration
  • Written in Rust — syntax highlighting, auto-complete