mirror of
https://github.com/PaddiM8/kalker.git
synced 2024-12-04 13:43:49 +01:00
v1.1.0
This commit is contained in:
parent
d01ce4c526
commit
139739b97e
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -179,7 +179,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "kalk"
|
name = "kalk"
|
||||||
version = "2.1.2"
|
version = "2.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"regex",
|
"regex",
|
||||||
@ -191,7 +191,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "kalker"
|
name = "kalker"
|
||||||
version = "1.0.1"
|
version = "1.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ansi_term",
|
"ansi_term",
|
||||||
"atty",
|
"atty",
|
||||||
|
11
README.md
11
README.md
@ -6,7 +6,7 @@ Kalker (or "kalk") is a calculator program/website that supports user-defined va
|
|||||||
|
|
||||||
[Kanban](https://kolan.strct.net/Board/4RAdMjLDz) | [Website - Try it out here!](https://kalker.xyz) | [Donate](#donation)
|
[Kanban](https://kolan.strct.net/Board/4RAdMjLDz) | [Website - Try it out here!](https://kalker.xyz) | [Donate](#donation)
|
||||||
|
|
||||||
![](preview.png)
|
<img src="preview.png" width="750">
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
@ -18,11 +18,12 @@ Kalker (or "kalk") is a calculator program/website that supports user-defined va
|
|||||||
* Integration. `∫(0, pi, sin(x) dx)` or `∫(0, π, sin(x) dx)`, maybe sometimes be slightly off
|
* Integration. `∫(0, pi, sin(x) dx)` or `∫(0, π, sin(x) dx)`, maybe sometimes be slightly off
|
||||||
* Understands fairly ambiguous syntax. Eg. `2sin50 + 2xy`
|
* Understands fairly ambiguous syntax. Eg. `2sin50 + 2xy`
|
||||||
* Syntax highlighting
|
* Syntax highlighting
|
||||||
* 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`
|
||||||
* 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.
|
* 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
|
||||||
* 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`
|
* 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)
|
||||||
* 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.
|
* 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
|
||||||
|
* 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
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
|
@ -9,11 +9,11 @@ license = "MIT"
|
|||||||
name = "kalker"
|
name = "kalker"
|
||||||
readme = "../README.md"
|
readme = "../README.md"
|
||||||
repository = "https://github.com/PaddiM8/kalker"
|
repository = "https://github.com/PaddiM8/kalker"
|
||||||
version = "1.0.1"
|
version = "1.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ansi_term = "0.12.1"
|
ansi_term = "0.12.1"
|
||||||
kalk = { path = "../kalk", version = "^2.1.2" }
|
kalk = { path = "../kalk", version = "^2.2.0" }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
regex = "1"
|
regex = "1"
|
||||||
rustyline = "7.1.0"
|
rustyline = "7.1.0"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "kalk"
|
name = "kalk"
|
||||||
version = "2.1.2"
|
version = "2.2.0"
|
||||||
authors = ["PaddiM8"]
|
authors = ["PaddiM8"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "kalk_mobile",
|
"name": "kalk_mobile",
|
||||||
"version": "1.0.2",
|
"version": "1.1.0",
|
||||||
"description": "kalk mobile",
|
"description": "kalk mobile",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
@ -16,7 +16,7 @@
|
|||||||
"@capacitor/android": "^2.4.5",
|
"@capacitor/android": "^2.4.5",
|
||||||
"@capacitor/cli": "^2.4.5",
|
"@capacitor/cli": "^2.4.5",
|
||||||
"@capacitor/core": "^2.4.5",
|
"@capacitor/core": "^2.4.5",
|
||||||
"@paddim8/kalk-component": "^1.3.2"
|
"@paddim8/kalk-component": "^1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@capacitor-community/electron": "^1.3.2",
|
"@capacitor-community/electron": "^1.3.2",
|
||||||
|
BIN
preview.png
BIN
preview.png
Binary file not shown.
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 88 KiB |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@paddim8/kalk-component",
|
"name": "@paddim8/kalk-component",
|
||||||
"version": "1.3.3",
|
"version": "1.4.0",
|
||||||
"description": "A Svelte component for kalk, a calculator that supports user-defined functions and variables.",
|
"description": "A Svelte component for kalk, a calculator that supports user-defined functions and variables.",
|
||||||
"svelte": "src/main.ts",
|
"svelte": "src/main.ts",
|
||||||
"main": "public/build/bundle.js",
|
"main": "public/build/bundle.js",
|
||||||
@ -55,7 +55,7 @@
|
|||||||
"webpack-dev-server": "^3.11.0"
|
"webpack-dev-server": "^3.11.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@paddim8/kalk": "^2.1.2",
|
"@paddim8/kalk": "^2.2.0",
|
||||||
"shadow-selection-polyfill": "^1.1.0"
|
"shadow-selection-polyfill": "^1.1.0"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
Loading…
Reference in New Issue
Block a user