v0.2.0
Pre-release
Pre-release
Vale v0.2.0 Release
New features:
- Can now
break
from inside a loop! - Adds const generics.
- Adds concept functions.
Simplified syntax:
- Removed function signatures'
impl MyInterface
, no longer needed. - Removed permissions and pointers
- Improved ownership rules, method calling on a returned value now sends own, really good for builders
- Added postfix borrow
ret
is nowreturn
- Weak references are now
&&
stdlib changes:
- Added stdlib back into main Vale repo
- Added hash set diff iter, moved collections to their own dirs
- Changed has() to Contains() and ContainsKey()
- Made remove() return the old value
- Added HashSet.GetRandomElement, List.Reverse, fsqrt, lshift, rshift, xor, i64(i32), mod(i64, i64), Opt.==, Opt.clone, Opt.or, str.charAt
- Added Higher RAII for HashMap and Opt
Under the hood:
- Bumped to LLVM 13
- Added a new parser that doesn't use combinators
- Added interning to compiler