Stax 1.1.4
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
for getting truthy indices from an array has been deprecated. Use:T
:1
instead.for inverting letter case is deprecated. Use:C
:~
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.