Skip to content

Version 0.09

Compare
Choose a tag to compare
@trizen trizen released this 06 Sep 16:09
· 3210 commits to master since this release

What's new

  • Added support for constant-folding (available at -O1) (cc439e4)
  • Added the map-operator from Perl6 (array »op» arg) (2023e2e)
  • Added the reversed map-operator (array «op« self) (04f8897)
  • Added the gather/take construct from Perl6. (#30) (b4e5de6)
  • Added the Range.reverse() method which reverses the self range (33a1ce8)
  • Added the Number.divides() method (80899b1)
  • Added the Block.closure alias for Block.copy (97bfe06)

Improvements

  • Extended the support for Unicode inside variable names (e9f427f)
  • Extended the Number.range() method to support two arguments (b95ac45)
  • Improved the Block.fork method; now it's much safer and faster (7923227)
  • Improved the parsing of here-documents declared with a bareword (8ab0b77)
  • Improved the Math.pi(n) method; now it's considerably faster for n>1000 (852c857)
  • Optimized the Number.array_to() and Number.array_downto() methods (964893a)
  • Various optimizations inside the parser (e689281 2023e2e 90df3cb)

Changes

  • Array.minmax now returns a list instead of an array (80899b1)
  • Renamed the my variables to local variables (7b47eee)
  • Simplified the internal implementation of ranges (33a1ce8)
  • Changed the behavior of the Math.map() function (ecc1e67)
  • A string can no longer match in a range of type number and vice versa (cfcc10e)
  • The hyper-operators will now require two angle-brackets in ASCII form (2023e2e)
  • Simplified the following Number methods: as_oct, as_hex and as_bin (148ecef)

Bug-fixes

  • Fixed the deparsing of infinite and NaN numbers (274a8db)
  • Fixed the command-line switch -nBACKEND to work correctly with Math::BigFloat and Math::BigRat objects (88d4728)

More changes: 0.08...0.09