Skip to content

Version 4.0.0 : A real programming language

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jun 16:07
19d7529

Release Notes

This version adds a lot of features which makes calc closer to a real programming language.

Changelog:

  • if-then-else statements (for example if x>5 then {3} else {4})
  • while loops (for example while x>5 do x=x+1)
  • {} scopes (variables are still global) and ; ignore operator (which executes and ignore lhs and executes and returns rhs)
  • . operator (extracting a value from an array)
  • debug and print 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