Updated README with new features and updated version numbers.

This commit is contained in:
PaddiM8 2020-06-14 22:53:11 +02:00
parent b87b2d10bc
commit 7b708a7b45
4 changed files with 6 additions and 5 deletions

4
Cargo.lock generated
View File

@ -138,7 +138,7 @@ dependencies = [
[[package]]
name = "kalk"
version = "0.1.10"
version = "0.1.11"
dependencies = [
"phf",
"regex",
@ -148,7 +148,7 @@ dependencies = [
[[package]]
name = "kalk_cli"
version = "0.1.9"
version = "0.1.10"
dependencies = [
"ansi_term",
"kalk",

View File

@ -20,6 +20,7 @@ Kalk is a calculator (both program and library) that supports user-defined varia
* Special-symbol completion on tab. Eg. write `sqrt` and press tab. It will be turned into `√`.
* Sum function: `sum(start, to, expression)` Eg. `sum(1, 3, 2n+1)` is the same as `2*1+1 + 2*2+1 + 2*3+1` = `15`
* Load a file including predefined functions and constants. For example, if you're going to use Kalk for physics, you load up your file with physics functions/constants when starting Kalk. `-i file`
* Misc: separate expressions by a semicolon to write them on the same line, use the `ans` variable to get the value of the previously calculated expression.
## Installing
Make sure you have `diffutils` `gcc` `make` and `m4` installed. **If you use windows:** [follow the instructions here](https://docs.rs/gmp-mpfr-sys/1.2.3/gmp_mpfr_sys/index.html#building-on-windows)

View File

@ -1,6 +1,6 @@
[package]
name = "kalk"
version = "0.1.10"
version = "0.1.11"
authors = ["PaddiM8"]
edition = "2018"
readme = "README.md"

View File

@ -1,6 +1,6 @@
[package]
name = "kalk_cli"
version = "0.1.9"
version = "0.1.10"
authors = ["PaddiM8"]
edition = "2018"
readme = "../README.md"
@ -15,7 +15,7 @@ path = "src/main.rs"
name = "kalk"
[dependencies]
kalk = { path = "../kalk", version = "^0.1.10" }
kalk = { path = "../kalk", version = "^0.1.11" }
rustyline = "6.1.2"
ansi_term = "0.12"
regex = "1"