aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.c
Commit message (Collapse)AuthorAgeFilesLines
* v0.1.1v0.1.1Ginger Bill2017-02-241-4/+4
|
* A decent union type with common fields and variantsGinger Bill2017-02-211-145/+153
|
* Begin changing `union` syntaxGinger Bill2017-02-191-13/+67
|
* Unexported struct fields on selectorsGinger Bill2017-02-191-16/+32
|
* Unexported struct fieldsGinger Bill2017-02-191-19/+45
|
* `delete` for mapsGinger Bill2017-02-191-2/+32
|
* Fix overloading bug due to `#import .`; Add sys/wgl.odinGinger Bill2017-02-191-18/+21
|
* Fix overloading bug due to comparison of named typesGinger Bill2017-02-181-4/+1
|
* Named return values but do not affect other declarationsGinger Bill2017-02-181-27/+92
|
* Ternary expression (removed if and block expression)Ginger Bill2017-02-141-205/+25
|
* Ignore previous silly commit :P I shouldn't have move itGinger Bill2017-02-141-10/+7
|
* Move error handling for castingGinger Bill2017-02-141-79/+83
|
* Prevent `cast` on pointer to union typesGinger Bill2017-02-141-3/+14
|
* Optional ok for `union_cast` (similar to map indices)Ginger Bill2017-02-141-21/+12
|
* Fix immutable rules; add some general documentationGinger Bill2017-02-141-3/+8
| | | | immutable is still a little weird and not completely what you'd expect. Maybe just not having it is better.
* Reimplement `immutable` with different rules.Ginger Bill2017-02-141-22/+21
|
* Fix index assignment rules for indirectionGinger Bill2017-02-141-9/+19
|
* Use a global to store the build context informationGinger Bill2017-02-121-24/+22
|
* Record type field `names`Ginger Bill2017-02-121-19/+12
|
* v0.1.0v0.1.0Ginger Bill2017-02-111-20/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Dynamic array syntax [...]Type; make entities private with a prefix of `_`; ↵Ginger Bill2017-02-111-13/+44
| | | | fix extension checking
* Only check files that have been truly imported.Ginger Bill2017-02-111-23/+52
|
* Remove need for `type` keywordGinger Bill2017-02-101-4/+5
|
* Remove Maybe type; Enum `names`Ginger Bill2017-02-101-119/+53
|
* Fix global maps and initialize the preload types beforeGinger Bill2017-02-071-0/+6
|
* Map type info and fmt printingGinger Bill2017-02-071-9/+7
|
* `map` literalsGinger Bill2017-02-061-3/+28
|
* Make checking map key exists optionalGinger Bill2017-02-061-4/+20
|
* `map` string keys and `for` iteratorGinger Bill2017-02-061-4/+4
|
* dynamic `map` insertion and lookupGinger Bill2017-02-061-7/+1
|
* Nearly implement dynamics map, missing insertionGinger Bill2017-02-061-7/+10
|
* Begin writing dynamic map procs and fix `using` bug in IRGinger Bill2017-02-051-14/+127
|
* Add `types.odin`; Begin work on `map`Ginger Bill2017-02-051-11/+82
|
* Custom struct alignmentGinger Bill2017-02-051-0/+39
|
* Update code from OSX merge to be consistent with the rest of the codeGinger Bill2017-02-011-12/+5
| | | | Remove some dead code whilst I was here too :P
* Merge branch 'master' of https://github.com/zhiayang/Odinzhiayang2017-02-021-0/+18
|\
| * Change internals of `context`; Disable `immutable`Ginger Bill2017-02-011-0/+18
| |
* | oh boy, basic osx/unix supportzhiayang2017-02-021-1/+5
|/
* Variadic `append`Ginger Bill2017-01-291-19/+20
|
* Dynamic arraysGinger Bill2017-01-291-6/+103
|
* Fix untyped to `any` assignments. Fixed crash when arguments with no value ↵Ginger Bill2017-01-291-3/+7
| | | | are passed
* Overloaded `free`; 3 dotted ellipsisv0.0.6aGinger Bill2017-01-281-6/+28
|
* Fix parsing for block/if expression within if/for/etc. statementsv0.0.6Ginger Bill2017-01-271-0/+5
|
* `in` keyword for `for` and `match type`Ginger Bill2017-01-271-3/+5
|
* Fix utf8 stuff, Allow _ in numbers, Begin writing next demo code.Ginger Bill2017-01-271-2/+18
|
* Library names - Only link with used foreign librariesGinger Bill2017-01-261-0/+3
|
* Fix pointer differences (issue #11); remove #dll_importGinger Bill2017-01-261-0/+13
|
* Change casting syntax: `cast(T)x` `transmute(T)x` et al.Ginger Bill2017-01-251-187/+203
|
* Fix issue #10Ginger Bill2017-01-201-0/+1
|
* `using` `immutable` `thread_local` on variable declarationsGinger Bill2017-01-191-7/+8
|