Releases: vanilla-extracts/calc
Version 4.0.0 : A real programming language
Release Notes
This version adds a lot of features which makes calc closer to a real programming language.
Changelog:
if-then-else
statements (for exampleif x>5 then {3} else {4}
)while
loops (for examplewhile x>5 do x=x+1
){}
scopes (variables are still global) and;
ignore operator (which executes and ignorelhs
and executes and returnsrhs
).
operator (extracting a value from an array)debug
andprint
functions (finally!)- String manipulation (join,concat,to_array)
- Array manipulation (extract,add to array,concat)
- fix stackoverflow when assigning a variable to itself (for example
x=x+1
).
Thanks Léana for the huge help!
Install mini-calc 4.0.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vanilla-extract/calc/releases/download/4.0.0/mini-calc-installer.sh | sh
Download mini-calc 4.0.0
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
mini-calc-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 4.0.0-beta-rc1 : A real programming language
Release Notes
This version adds a lot of features which makes calc closer to a real programming language.
Total changelog so far (as of merging #73):
if-then-else
statements (for exampleif x>5 then {3} else {4}
)while
loops (for examplewhile x>5 do x=x+1
){}
scopes (variables are still global) and;
ignore operator (which executes and ignorelhs
and executes and returnsrhs
).
operator (extracting a value from an array)
Planned (as of merging #73):
debug
andprint
functions (finally!)- String manipulation (join,concat,to_array)
- Array manipulation (extract,add to array,concat)
Thanks Léana for the huge help!
Install mini-calc 4.0.0-beta-rc1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vanilla-extract/calc/releases/download/4.0.0-beta-rc1/mini-calc-installer.sh | sh
Download mini-calc 4.0.0-beta-rc1
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
mini-calc-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 3.4.2 : Default float mode in config
Release Notes
This version adds the default_float_mode
entry in the mini-calc.toml
configuration file.
It loads the default float mode, until now the default float mode was exact
.
It will be the default float mode in the config but now the user will be
able to configure the default float mode they want. And it will persist between
sessions.
WARNING:
This version adds something to the config, and as such it resets your config to
add it, if you DON'T want your config to be overwritten add
default_float_mode = 'normal|science|exact'
To your config!
Install mini-calc 3.4.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vanilla-extract/calc/releases/download/3.4.2/mini-calc-installer.sh | sh
Download mini-calc 3.4.2
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
mini-calc-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 3.4.1 : Scientific mode, Float mode
Release Notes
This version implements the scientific mode and have revamped the float
displaying system.
It adds the toggle_float <normal|science|exact>
REPL command which changes the
float display.
In normal
mode the float is displayed with 10 decimal digits. Even when a
rational solution is available.
For example if you input
> 1/3
It displays
val: float = 0.3333333333
In exact
mode it displays
val: rational = 1/3
And in science
mode it displays
val: float = 3.333333333333*10⁻¹
Science mode prints with this pattern:
[0-9]*10^(([0-9]*)|(-[0-9]*))
Install mini-calc 3.4.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vanilla-extract/calc/releases/download/3.4.1/mini-calc-installer.sh | sh
Download mini-calc 3.4.1
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
mini-calc-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 3.3.5 : Code refactoring
Release Notes
Refactoring of Code for simpler type usage
Install mini-calc 3.3.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vanilla-extract/calc/releases/download/3.3.5/mini-calc-installer.sh | sh
Download mini-calc 3.3.5
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
mini-calc-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
3.3.4
Install mini-calc 3.3.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vanilla-extract/calc/releases/download/3.3.4/mini-calc-installer.sh | sh
Download mini-calc 3.3.4
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
mini-calc-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
3.3.3
Install mini-calc 3.3.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vanilla-extract/calc/releases/download/3.3.3/mini-calc-installer.sh | sh
Download mini-calc 3.3.3
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
mini-calc-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 3.3.2 : CI
Release Notes
Install mini-calc 3.3.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/vanilla-extract/calc/releases/download/3.3.2/mini-calc-installer.sh | sh
Download mini-calc 3.3.2
File | Platform | Checksum |
---|---|---|
mini-calc-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
Version 3.2.0 : Differentiation #2
Release Notes
Differentiates all functions
Install mini-calc 3.2.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/coco33920/calc/releases/download/3.2.0/mini-calc-installer.sh | sh
Download mini-calc 3.2.0
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |
Version 3.1.0 : Differentiation #1
Release Notes
First differentiation version, it differentiates classic and user defined
polynomials
Install mini-calc 3.1.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/coco33920/calc/releases/download/3.1.0/mini-calc-installer.sh | sh
Download mini-calc 3.1.0
File | Platform | Checksum |
---|---|---|
mini-calc-aarch64-apple-darwin.tar.xz | macOS Apple Silicon | checksum |
mini-calc-x86_64-apple-darwin.tar.xz | macOS Intel | checksum |
mini-calc-x86_64-pc-windows-msvc.zip | Windows x64 | checksum |
mini-calc-x86_64-unknown-linux-gnu.tar.xz | Linux x64 | checksum |