Skip to content

Stax 1.1.4

Compare
Choose a tag to compare
@tomtheisen tomtheisen released this 11 May 19:11
· 255 commits to master since this release

Stax 1.1.4

New instructions

  • VN pushes NaN
  • :] sets the bit(s) at the specified index(es) in an integer. It expects two intgers, or an integer followed by an array of integers.
  • :[ unsets the bit(s) in the same way.
  • :: toggles the bit(s) in the same way.

Instruction deprecations

  • :T for getting truthy indices from an array has been deprecated. Use :1 instead.
  • :C for inverting letter case is deprecated. Use :~ instead.
  • Several instructions were shortened. The old ones continue to work, but have been deprecated.
Operation New instruction Old instruction
Exponentiation # |*
Bitwise And I |&
Bitwise Or M ||
Bitwise Xor S |^
Scalar Minimum t |m
Sclara Maximum T |M

Note that array minimum maximum are still performed using |m and |M.

Behavior changes

  • In the javascript targetted implementation, integers are now provided by ECMAScript bigints, where available. Otherwise, big-integer npm package is used. In the web UI, the current integer implementation is displayed near the build information.
  • :~ sets the interior bits of an integer. It has been changed so that for non-positive inputs, it produces -1.