Odin v0.7

https://github.com/gingerBill/Odin/releases/tag/v0.7.1

New Features
  • New importation system
  • Import collections
  • Improved `foreign` system
  • Global variable dependency initialization ordering
  • Attribute system
  • Array Programming - arithmetic on fixed length arrays
  • `uintptr`
  • Type aliases
  • `inline` and `no_inline` prefix keywords for procedure literals
  • Procedure calling convention syntax
  • Default arguments allowed after a variadic parameter
  • Polymorphic array lengths

Syntax Changes

  • `switch` replaces `match`
  • `context <- expr {}` replaces `push_context expr {}`
  • `push_allocator` has been removed in favour of general procedures to generate contexts
  • `-build-mode=dll` replaces `build-dll`

Core library additions

  • `mem.ptr_to_bytes`
  • `assert` and `panic` use `printf` style parameters