Skip to content

0.0.18

Pre-release
Pre-release
Compare
Choose a tag to compare
@kaikalii kaikalii released this 10 Oct 19:32
· 5331 commits to main since this release

0.0.18 - 2023-10-10

Language

  • Major Change distribute now takes the array being distributed as its last argument, rather than its first
  • Add where function, which returns the indices of an array that have non-zero values
  • if ?'s branches can now have a different number of arguments (but not outputs)
  • if ?'s condition can now be a list of conditions, and the branch will be chosen for each row in the argument(s)
  • The reducing versions of group and partition now take accumulators. Aggregating versions are unchanged.
  • spawn and wait no longer have glyphs. Code using and will continue to work and will be formatted as spawn and wait.
  • &n is no longer a system function and is now called now
  • under now can be used to time things
  • call ! can now call functions that return any number of values, not just one
  • Add hex character escape sequences for string and character literals.
    • \xNN for short ASCII codes
    • \uNNNN for full Unicode sequences

Interpreter

  • The formatter now aligns consecutive end-of-line comments
  • NaNs no longer propogate in min and max
  • Fix a bug that prevented under multidimensional take and drop from working
  • Fix a bug in how fold ordered multiple accumulators
  • Fix a bug that allowed incorrect signatures to be declared for functions
  • Fix a bunch of other bugs and crashes

Website

  • Add the Uiua386 font as an option in the editor