Skip to content

0.2.1153

Compare
Choose a tag to compare
@rurban rurban released this 11 Sep 16:59
· 159 commits to master since this release

Highlights

Stabilized the GC, jit and build system.
Added some experimental new features, even if very rudimentary yet (ffi, debugger, types).
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

  • print and say methods return "" instead of nil.
  • Added methods for table: clone, slice, keys, values.
    For tuple: slice. For bytes and string: clone.
  • Added support for negative arguments for string.slice
  • Changed API's for potion_type_error_want
  • Updated libuv from 0.11.14 to 0.11.23
  • Fixed uv_buf_t handling in aio
  • Added SANDBOX support: make SANDBOX=1
    omit access to local filesystem, processes, loading shared libraries
    -L, and external compilers. bin/potion-s includes all modules statically.
    See INSTALL.md
  • Added rudimentary src debugger with -d (unfinished, c-version only)
  • parse extern functions, but args are not yet translated (unfinished)
  • Added typed function calls with compile-time binding (experimental)
  • Fixed GC stability issues