Releases: kaoscript/kaoscript
Releases · kaoscript/kaoscript
v0.9.1
v0.9.0
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
Changelog:
- use standard
constructor
- add
require|import
- compile sequence expression
- auto-type alias parameters
- add class' version
- reserve the static fields
name
andversion
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 overconst
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