Releases: odin-lang/Odin
Releases · odin-lang/Odin
Odin v0.0.4
What's New
- Go/BCPL style semicolon insertion rules - See: https://groups.google.com/forum/#!topic/golang-nuts/XuMrWI0Q8uk
odin build_dllBuild project as .dll#exportfor procedures- Always require an entry point procedure -
main - Cyclic Type Checking
#include- renamed from#load- Changed import/include name syntax
#import thing "some_file.odin"
- Built in string constants
- ODIN_OS - target operating system ("windows")
- ODIN_ARCH - target architecture ("amd64)
- ODIN_VENDER - compiler vender ("odin")
- ODIN_VERSION ("0.0.4")
- ODIN_ROOT - root directory of the executable
whenstatement- Compile time
ifstatement (only allowed within procedures)
- Compile time
whencondition on#import,#include,#foreign_library#foreign_system_library#import "win32.odin" when ODIN_OS == "windows"
- Standard Library (WIP):
- atomic.odin
- sync.odin (Mutex, Semaphore)
- Disabled
u128andi128until big numbers are properly supported
Odin v0.0.3d
What's New
- Rune literal syntax
- Now: 'x', was: #rune "x"
- Add global string constants (for later platform specific use)
- ODIN_OS (e.g. "windows")
- ODIN_ARCH (e.g. "amd64")
- ODIN_VENDOR (e.g. "odin")
- ODIN_VERSION (e.g. "v0.0.3d")
- ODIN_ENDIAN (e.g. "little")
clampbuiltin procedure (works on numerical and string types)
Bug fixes
- Fix slice expressions for arrays and slices
- fmt.odin correctly prints f32
- Fix Vector's type information
Linux and OSX
Coming Soon™
Enjoy!
Odin 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 typeforanyunion_castx, ok := var union_cast Foo.Bar
- Backend and stability improvements
Bug fixes
#import "..." as .will not act like#loadand 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!