Skip to content

Commit a23aca8

Browse files
author
PaddiM8
committed
v1.1.0
1 parent 9a16d92 commit a23aca8

File tree

7 files changed

+15
-14
lines changed

7 files changed

+15
-14
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Kalker (or "kalk") is a calculator program/website that supports user-defined va
66

77
[Kanban](https://kolan.strct.net/Board/4RAdMjLDz) | [Website - Try it out here!](https://kalker.xyz) | [Donate](#donation)
88

9-
![](preview.png)
9+
<img src="preview.png" width="750">
1010

1111
# Features
1212

@@ -18,11 +18,12 @@ Kalker (or "kalk") is a calculator program/website that supports user-defined va
1818
* Integration. `∫(0, pi, sin(x) dx)` or `∫(0, π, sin(x) dx)`, maybe sometimes be slightly off
1919
* Understands fairly ambiguous syntax. Eg. `2sin50 + 2xy`
2020
* Syntax highlighting
21-
* Special-symbol completion on tab. Eg. write `sqrt` and press tab. It will be turned into ``.
21+
* Special-symbol completion on tab. Eg. write `sqrt` and press tab. It will be turned into ``
2222
* 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`
23-
* Piecewise functions: `f(x) = { f(x + 1) if x <= 1; x otherwise }`, pressing enter before typing the final `}` will make a new line without submitting.
24-
* Load a file including predefined functions and constants. For example, if you're going to use kalker for physics, you load up your file with physics functions/constants when starting kalker. `-i file`
25-
* 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.
23+
* Piecewise functions: `f(x) = { f(x + 1) if x <= 1; x otherwise }`, pressing enter before typing the final `}` will make a new line without submitting
24+
* Load a file including predefined functions and constants. For example, if you're going to use kalker for physics, you load up your file with physics functions/constants when starting kalker. This is done either using the `-i file` flag or by putting files in a certain directory and then doing `load filename` inside kalker. [More about files here](https://kalker.xyz/#files)
25+
* Different number bases: Either with a format like `0b1101`, `0o5.3`, `0xff` or a format like `1101_2`. The latter does not support letters, as they would be interpreted as variables
26+
* 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
2627

2728
# Installation
2829

cli/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ license = "MIT"
99
name = "kalker"
1010
readme = "../README.md"
1111
repository = "https://github.com/PaddiM8/kalker"
12-
version = "1.0.1"
12+
version = "1.1.0"
1313

1414
[dependencies]
1515
ansi_term = "0.12.1"
16-
kalk = { path = "../kalk", version = "^2.1.2" }
16+
kalk = { path = "../kalk", version = "^2.2.0" }
1717
lazy_static = "1.4.0"
1818
regex = "1"
1919
rustyline = "7.1.0"

kalk/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kalk"
3-
version = "2.1.2"
3+
version = "2.2.0"
44
authors = ["PaddiM8"]
55
edition = "2018"
66
readme = "README.md"

mobile/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kalk_mobile",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "kalk mobile",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1",
@@ -16,7 +16,7 @@
1616
"@capacitor/android": "^2.4.5",
1717
"@capacitor/cli": "^2.4.5",
1818
"@capacitor/core": "^2.4.5",
19-
"@paddim8/kalk-component": "^1.3.2"
19+
"@paddim8/kalk-component": "^1.4.0"
2020
},
2121
"devDependencies": {
2222
"@capacitor-community/electron": "^1.3.2",

preview.png

21.3 KB
Loading

web/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@paddim8/kalk-component",
3-
"version": "1.3.3",
3+
"version": "1.4.0",
44
"description": "A Svelte component for kalk, a calculator that supports user-defined functions and variables.",
55
"svelte": "src/main.ts",
66
"main": "public/build/bundle.js",
@@ -55,7 +55,7 @@
5555
"webpack-dev-server": "^3.11.0"
5656
},
5757
"dependencies": {
58-
"@paddim8/kalk": "^2.1.2",
58+
"@paddim8/kalk": "^2.2.0",
5959
"shadow-selection-polyfill": "^1.1.0"
6060
},
6161
"browserslist": [

0 commit comments

Comments
 (0)