Skip to content

0.3.1264

Latest
Compare
Choose a tag to compare
@rurban rurban released this 17 Oct 08:59
· 47 commits to master since this release

Highlights

Fast unsafe arrays
Fixed comparison and equalness esp. for numbers.
Added a couple of new methods, fixed segfaults on empty methods.

See http://perl11.org/potion/ for an overview of this new exciting little language.

Binary packages

For linux we provide 32 and 64bit packages, including a -devel package.
For darwin only a intel 64bit package, 32bit is broken.
For windows only a 32bit zip, without devel.
win64 is not yet supported.

The source should build on most newer GNU systems and OS, or cross-compile it.

Limitations

potion is highly unstable, not production ready and misses some features
like an ffi, debugger, external compilers, database or ui libraries and native threading.
The parser is not yet GC -safe (so avoid memory hogging eval).

Changes

  • Added new syntax tuple[index] for fast, unsafe array access,
    also for table with a string literal: table["key"]
  • Fixed comparison and equalness esp. for numbers. Check now also double
    values, before only int. All values are now compared strictly, numeric types
    are not promoted to match. i.e 0 != 0.0
    The jit now requires at least a x86 with sse2 (Pentium 4).
  • Changed the name Decimal in the API to Double
  • Promote integer to double on arithmetic overflow (gcc-5, clang-3.6 or a
    single jo insn in the jit)
  • Added seperate Double and Integer vtables, which are both of kind Number.
    Added specialized methods.
  • Added isa? and subclass? methods, re-enabled test/classes/creature.pn
  • string: improve performance of at and ord
  • Added more examples
  • Updated libuv from 0.11.23 to 1.0.0
  • New syntax error: Call empty message
  • Fixed size method for objects and primitives
  • Added parent and methods methods to the Lobby (Peter Arthur)