Tuesday, May 3, 2011

Crack 0.4 Released

We are pleased to announce the release of Crack 0.4.  The two major changes for this version are Exceptions (ala C++, Java and Python) and Ahead-of-time compiling (so you can now run "crackc" on your script and produce a nice, ready to run executable in addition to the traditional scripty mode).

There are also a few new smaller features:
  • Sequence initializers ("array[int] a = [1, 2, 3]" or "array[int]![1, 2, 3]")
  • Improved string interpolation (added calls to enter() and leave() methods at the beginning and ending of each expression, allowing us to do things like "String s = FStr() `this is $var`;")
  • Byte and integer string constants ("b'A' == 65", "i'\001\0' == 256")
  • A no-op @encoding annotation allowing scripts to identify their encoding for other tools.
This release has been a long time coming, we hope you like it.