Skip to content

Hassium 0.9.7

Compare
Choose a tag to compare
@zdimension zdimension released this 23 Sep 17:46
· 413 commits to master since this release
  • Fixed OOP
  • Fixed class instance system
  • Added more console functions
Console.getClipboard();
Console.setClipboard("abc");
  • Added null check in binary ops
if(a == null) // this would have thrown a NullReferenceException in previous releases
  • Added empty ternary operator support. You can now do this :
a = true;
println(a ? "ok" : ""); // previous releases
println(a ? "ok"); // right now
b = false;
println(b ? "" : "ok"); // previous releases
println(b ?: "ok"); // right now
println(true ?:); // this is useless, but it compiles and prints nothing
  • Added an `Ìnterpreter`` class
use debug; // important
println(Interpreter.version); // prints 0.9.7
println(Interpreter.buildDate); // prints 2015-09-23 17:52:53
  • Date.toString is now GMT by default (regardless the system settings)