Ginger Bill
b41f09b730
Experimental try for ABI for return values on windows
...
It's all done by reverse engineering it. I may be wrong...
2017-05-28 14:11:00 +01:00
Ginger Bill
45dbe8d354
default: to case:; no_alias to #no_alias
2017-05-27 11:47:21 +01:00
Ginger Bill
64b5afd820
Fix issue #63 for block comments not terminating at an EOF
2017-05-09 10:01:10 +01:00
Ginger Bill
1430ca30a3
Fix subtype polymorphism implicit conversion
2017-04-30 16:22:24 +01:00
Ginger Bill
5b8be25938
fmt.String_Buffer, Fix issue #44 , Tweak overloading rules
2017-04-26 19:43:17 +01:00
Ginger Bill
c2fa79012e
Fix find_using_index_expr
2017-04-23 11:04:22 +01:00
Ginger Bill
0c22081e5f
Fix error printing for basic directives
2017-04-17 19:58:43 +01:00
Ginger Bill
0d2dbee84e
Fix addressing mode rules for match in statements
2017-04-13 22:42:36 +01:00
Ginger Bill
5562364a98
Add branch labels for loops; using list
2017-03-19 16:59:11 +00:00
Ginger Bill
aaec8bf423
windows.odin TYPE_NAME to Type_Name; More SSA work and SSA printing for debugging
2017-03-12 16:42:51 +00:00
Ginger Bill
6fdcbefe5d
Unexported struct fields
2017-02-19 12:38:49 +00:00
Ginger Bill
d1f65097c4
Fix immutable rules; add some general documentation
...
immutable is still a little weird and not completely what you'd expect. Maybe just not having it is better.
2017-02-14 15:19:29 +00:00
Ginger Bill
e1fdd675ce
v0.1.0
...
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
* `compile_assert` and `assert`return the value of the condition for semantic reasons
Changed:
* 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)
2017-02-11 21:20:57 +00:00
Ginger Bill
4306345ff1
Dynamic array syntax [...]Type; make entities private with a prefix of _; fix extension checking
2017-02-11 17:33:23 +00:00
Ginger Bill
346aa5f71c
Only check files that have been truly imported.
2017-02-11 15:50:24 +00:00
Ginger Bill
f18ae89931
Remove Maybe type; Enum names
2017-02-10 14:59:18 +00:00
Ginger Bill
205f4664f8
Update code from OSX merge to be consistent with the rest of the code
...
Remove some dead code whilst I was here too :P
2017-02-01 20:59:14 +00:00
zhiayang
5516e80ab7
Merge branch 'master' of https://github.com/zhiayang/Odin
2017-02-02 04:21:42 +08:00
zhiayang
864310e3da
oh boy, basic osx/unix support
2017-02-02 04:20:33 +08:00
Ginger Bill
4e7082a68d
Change internals of context; Disable immutable
2017-02-01 17:52:55 +00:00
Ginger Bill
e3e16f5d05
Library names - Only link with used foreign libraries
2017-01-26 20:00:16 +00:00
Ginger Bill
b59a052e32
Change casting syntax: cast(T)x transmute(T)x et al.
2017-01-25 19:19:25 +00:00
Ginger Bill
3f023509a7
using immutable thread_local on variable declarations
2017-01-19 20:03:10 +00:00
Ginger Bill
563b1e2b28
immutable field prefix
2017-01-19 19:02:44 +00:00
Ginger Bill
cb59c1cf08
Comma for all field separators; Overloaded procedures follow exportation rules
2017-01-17 18:47:38 +00:00
Ginger Bill
383f5b55ad
Best viable overloading procedure algorithm; no_alias; call expr style casts
2017-01-17 15:20:11 +00:00
Ginger Bill
ac736aa4ec
Procedure overloading
2017-01-15 19:55:04 +00:00
Ginger Bill
ff473e8342
"Old style" enums
...
name and value information
`count`, `min_value`, `max_value` constants
2017-01-08 20:24:12 +00:00
Ginger Bill
d9ce0b9da0
File reorganization for checker system.
2017-01-07 12:01:52 +00:00