aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* `immutable` field prefixGinger Bill2017-01-191-0/+3
|
* Closed range `...` (both inclusive); Type comparisons with == and !=Ginger Bill2017-01-191-208/+54
|
* Change cast syntax, int(x), []byte(s), (^int)(p)Ginger Bill2017-01-171-41/+189
|
* Fix conversion of untyped integers to pointersGinger Bill2017-01-171-3/+47
|
* Comma for all field separators; Overloaded procedures follow exportation rulesGinger Bill2017-01-171-28/+88
|
* Best viable overloading procedure algorithm; `no_alias`; call expr style castsGinger Bill2017-01-171-180/+260
|
* Err on ambiguous overloaded callsGinger Bill2017-01-151-71/+55
|
* Procedure overloadingGinger Bill2017-01-151-60/+275
|
* Bug fix: comparisons with shiftsGinger Bill2017-01-151-224/+100
|
* "Old style" enumsGinger Bill2017-01-081-53/+150
| | | | | name and value information `count`, `min_value`, `max_value` constants
* File reorganization for checker system.Ginger Bill2017-01-071-0/+4759