Skip to content

Releases: sty00a4-code/luna

Luna 1.3.2

27 May 15:28
Compare
Choose a tag to compare

Changes

  • functions have meta-objects now
  • compiler fixes (view commits)
  • useless move compiler optimization
  • string.sep -> string.split
  • string.split_amount, string.split_at and string.split_off
  • iterator.all and iterator.any functions
  • some fixes in the examples, new example cached_fib.luna
  • missing standard module definitions

Full Changelog: v1.3.1...v1.3.2

Luna 1.3.1

12 May 21:36
Compare
Choose a tag to compare

Features

  • libloading
  • call optimization
  • command line interpreter
  • if let, while let and let ... = ... else { ... } statements
  • correct error path
  • compiler register optimizations

Full Changelog: v1.2.0...v1.3.1

Luna 1.2.0

19 Apr 14:17
Compare
Choose a tag to compare
  • match statement
  • patterns:
    • compare to value = "hello" => {...}
    • capture with identifier = value => {...}
    • pattern with condition = value if value > 10 => {...}

Luna v1.1.0

15 Apr 08:38
Compare
Choose a tag to compare

Features

  • let { ... } = ... object destructuring (non-existent keys get set to null)
  • let [ ... ] = ... vector destructuring starting from 0 (non-existent indexes get set to null)
  • destructuring can be used in function parameters fn ({...}) and fn ([...])
  • typed module
    • some(any): bool checks if the value is not null (false included)
    • check(any, ...string): bool checks if the value is of any of the given types
    • ... see change log

Luna 1.0.0

09 Apr 20:20
Compare
Choose a tag to compare

Full Changelog: v0.5.0...v1.0.0

Luna 0.5.0

Luna 0.4.0

17 Feb 18:08
Compare
Choose a tag to compare
v0.4.0

os update

Luna 0.2.0

11 Feb 18:13
Compare
Choose a tag to compare

Features

  • stdin/out/err fix
  • binary and hex number string into int
  • merged all iterators into one
  • fixed function without return
  • custom iterators
  • better command CLI

v0.1.0

06 Feb 11:59
Compare
Choose a tag to compare