Updated README with new features and updated version numbers.

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

4
Cargo.lock generated
View File

@ -138,7 +138,7 @@ dependencies = [
[[package]] [[package]]
name = "kalk" name = "kalk"
version = "0.1.10" version = "0.1.11"
dependencies = [ dependencies = [
"phf", "phf",
"regex", "regex",
@ -148,7 +148,7 @@ dependencies = [
[[package]] [[package]]
name = "kalk_cli" name = "kalk_cli"
version = "0.1.9" version = "0.1.10"
dependencies = [ dependencies = [
"ansi_term", "ansi_term",
"kalk", "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 `√`. * 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` * 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` * 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 ## 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) 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] [package]
name = "kalk" name = "kalk"
version = "0.1.10" version = "0.1.11"
authors = ["PaddiM8"] authors = ["PaddiM8"]
edition = "2018" edition = "2018"
readme = "README.md" readme = "README.md"

View File

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