Skip to content

Releases: kaoscript/kaoscript

v0.9.1

07 Aug 12:23
Compare
Choose a tag to compare

Changelog:

  • when installing, download the correct compiler

v0.9.0

07 Aug 12:19
Compare
Choose a tag to compare

Changelog:

  • add namespace
  • add macro
  • add disclose
  • add function overloading
  • a parameter can be required and nullable
  • only comparison operators can be chained
  • import can define a variable and its type
  • support shorthand property
  • support computed property
  • support spread operator in object destructuring
  • support destructuring in parameters
  • variable's type can be deduced
  • parameter's, assignment's and return's types are validated
  • add xor and implies operators
  • compiler is downloaded when installing

v0.8.0

28 Mar 14:47
Compare
Choose a tag to compare

Changelog:

  • use standard constructor
  • add require|import
  • compile sequence expression
  • auto-type alias parameters
  • add class' version
  • reserve the static fields name and version of class
  • cleaner attributes
  • better exception validation
  • add flags enum
  • add polyadic bitwise operators
  • upgrade for loops (for :value of object)
  • remove alias foo(x?) <=> foo(x = null)
  • compilation requires 5 steps instead of 4
  • add immutable flag to detect overwriting over const variable, imported variables, …
  • fix if statement
  • fix method switch
  • fix existential unary operator
  • fix lambda functions
  • fix renaming a variable in an es5 scope
  • fix comprehension in method
  • fix assignment in condition

v0.7.2

10 Jan 15:20
Compare
Choose a tag to compare

Changelog:

  • add CircleCI
  • fix runtime dependency's path

v0.7.0

10 Jan 00:21
Compare
Choose a tag to compare

Changelog:

  • add conditional compilation
  • add !?= operator
  • const variable are auto-typed
  • add abstract classes
  • add error handling

v0.6.0

06 Jan 17:59
Compare
Choose a tag to compare

Changelog:

  • fix function in object and array comprehension for ES5
  • split function and lambda expression
  • consolidate @property expression

v0.5.0

04 Jan 10:10
Compare
Choose a tag to compare

Changelog:

  • support ES5 engines

v0.4.1

30 Dec 15:53
Compare
Choose a tag to compare

Changelog:

  • fix README.md
  • fix binary

v0.4.0

28 Dec 14:37
Compare
Choose a tag to compare

Changelog:

  • rewrite compiler
  • add delete, include and include once statements
  • add is not operator
  • add $create constructor and $destroy destructor
  • rename final to sealed
  • harmonize try/catch & typing

v0.3.0

19 Oct 08:32
Compare
Choose a tag to compare

Changelog:

  • add existential and null coalescing operators
  • add for let, extern|require, require|extern statements
  • fix variable declaration for destructing statement
  • improve ternary operator and assignment in condition
  • fix negation and existential operators