Releases: sty00a4-code/luna
Releases · sty00a4-code/luna
Luna 1.3.2
Changes
- functions have meta-objects now
- compiler fixes (view commits)
- useless move compiler optimization
string.sep
->string.split
string.split_amount
,string.split_at
andstring.split_off
iterator.all
anditerator.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
Features
- libloading
- call optimization
- command line interpreter
if let
,while let
andlet ... = ... else { ... }
statements- correct error path
- compiler register optimizations
Full Changelog: v1.2.0...v1.3.1
Luna 1.2.0
match
statement- patterns:
- compare to value =
"hello" => {...}
- capture with identifier =
value => {...}
- pattern with condition =
value if value > 10 => {...}
- compare to value =
Luna v1.1.0
Features
let { ... } = ...
object destructuring (non-existent keys get set to null)let [ ... ] = ...
vector destructuring starting from0
(non-existent indexes get set to null)- destructuring can be used in function parameters
fn ({...})
andfn ([...])
typed
modulesome(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
Full Changelog: v0.5.0...v1.0.0
Luna 0.5.0
Luna 0.4.0
v0.4.0 os update
Luna 0.2.0
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
Full Changelog: https://github.com/sty00a4-code/luna/commits/v0.1.0