Odin v0.0.3c

Ginger Bill  —  6 months ago [Edited 0 minutes later]
[Odin v0.0.3c](https://github.com/gingerBill/Odin/releases/tag/v0.0.3c)

What's New

  • Rewritten in C99 (from C++)
  • `nil` - Zero value for all types, except:
    • integers
    • floats
    • strings
    • booleans
  • Maybe types (nillable types)
    • `m: ?int; ...; i, ok := m?;`
  • `match type` for `any`
  • `union_cast`
    • `x, ok := var union_cast Foo.Bar`
  • Backend and stability improvements

Bug fixes
  • `#import "..." as .` will not act like `#load` and keep imported entities local to that file
  • Initialize global memory at compile time if possible

  • Fix enums with duplicate entries crash
  • Remove some duplicate error messages

Linux and OSX

Coming Soon™

Enjoy!
Log in to comment