Scientific calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
Go to file
2020-06-12 00:06:15 +02:00
kalk Added separate readme for the library. 2020-06-12 00:06:15 +02:00
kalk_cli Renamed parser::parse to parser::eval and created a new parser::parse function that does not evalutate the statements. 2020-06-10 13:55:43 +02:00
.gitignore Made the x_1 notation possible. 2020-06-09 14:59:29 +02:00
LICENSE Create LICENSE 2020-06-11 23:38:03 +02:00
README.md Update README.md 2020-06-11 23:39:40 +02:00

kalk

Kalk is a calculator (both program and library) that supports user-defined variables and functions. An example of what it can parse:

f(x, y) = sum(1, 3, (2sin4/x!)^y) + cos(n deg)
a = 3
f(a, 2)

>> 1.1899401098014355

Compiling

  1. Make sure you have diffutils gcc make and m4 installed.
  2. Go into the kalk_cli directory.
  3. Run cargo build --release
  4. Grab the binary from targets/release