Skip to content

Odin v0.1.0

Compare
Choose a tag to compare
@gingerBill gingerBill released this 11 Feb 21:22
· 10542 commits to master since this release

Added:

  • Dynamic Arrays [...]Type
  • Dynamic Maps map[Key]Value
  • Dynamic array and map literals
  • Custom struct alignemnt struct #align 8 { bar: i8 }
  • Allow _ in numbers
  • Variadic append
  • fmt.sprint*
  • Entities prefixes with an underscore do not get exported on imports
  • Overloaded free for pointers, slices, strings, dynamic arrays, and dynamic maps
  • enum types have an implict names field, a []string of all the names in that enum

Removed:

  • Maybe/option types
  • immutable variables
  • Remove type keyword and other "reserved" keywords

Changed:

  • compile_assert and assertreturn the value of the condition for semantic reasons
  • thread_local -> #thread_local
  • #include -> #load
  • Files only get checked if they are actually used
  • match x in y {} // For type match statements
  • Version numbering now starts from 0.1.0 and uses the convention:
    • major.minor.patch

Fixes:

  • Many fmt.* fixes

To come very Soon™:

  • Linux and OS X builds (unofficial ones do exist already)