Skip to content

v0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Verdagon Verdagon released this 12 May 00:53
· 1167 commits to master since this release
c0bcd57

Vale v0.2.0 Release

New features:

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 now return
  • 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