Commit Graph

163 Commits

Author SHA1 Message Date
gingerBill
30f5a3bb93 Move cycle checking to much earlier on in the semantic stage 2018-03-23 20:48:30 +00:00
gingerBill
991479fbf9 Remove allocator parameter to types.cpp functions 2018-03-23 16:01:23 +00:00
gingerBill
5660f98cc3 Merge branch 'master' of https://github.com/odin-lang/Odin 2018-03-23 15:23:31 +00:00
gingerBill
5bf0f9d630 Fix type cycle bug 2018-03-23 15:23:14 +00:00
Nakst
9fa4aa40b7 fix compile warnings on linux 2018-03-10 20:29:43 +00:00
gingerBill
105de7705a Add unselector_expr 2018-03-04 11:06:59 +00:00
gingerBill
584dffea14 Remove dead code; fix referencing of a type assertion in a selector expression 2018-03-04 09:25:02 +00:00
gingerBill
41b6d215bb Fix using determination order 2018-03-03 20:07:12 +00:00
gingerBill
9274f29ca9 deprecated attribute for procedure declarations 2018-03-03 11:16:48 +00:00
gingerBill
69062ba3ab More code tidying with Array 2018-02-25 20:24:38 +00:00
gingerBill
d63885a495 array_make 2018-02-25 19:23:52 +00:00
gingerBill
35ba5771a5 Replace compile_assert with #assert 2018-02-24 19:03:29 +00:00
gingerBill
d70a555c1c Fix issue #192 2018-02-22 21:24:38 +00:00
gingerBill
da300aa9c3 Fix enum #export does not work with export #185 2018-02-13 18:01:42 +00:00
gingerBill
0ae3484171 Fix zero value initialization in IR 2018-02-11 11:13:52 +00:00
gingerBill
b66e7bed45 Improve min-dep for Type Info 2018-01-28 15:37:15 +00:00
gingerBill
dce45e7d58 Add ODIN_DEBUG 2018-01-28 14:42:22 +00:00
gingerBill
1a0877e965 Fix minimum dependency generation for foreign entities 2018-01-28 14:39:18 +00:00
gingerBill
2e28c9d793 Cache type size/align; Improve speed of ir_print.cpp 2018-01-20 15:12:44 +00:00
gingerBill
419ab6f00c Named return value act as variables; Code reorganization 2018-01-17 19:07:38 +00:00
gingerBill
6b3c4cc379 Remove u128 and i128 2018-01-13 22:26:37 +00:00
gingerBill
4f12c118a5 Fix Type info bug for 'llvm bool' 2017-12-23 09:06:49 +00:00
gingerBill
860a5c3e86 "Fix" LLVM boolean bug (more like a bodge) 2017-12-22 18:14:35 +00:00
gingerBill
30530d058c Remove struct #ordered 2017-12-17 14:53:40 +00:00
gingerBill
32a502d14e using x in bar; 2017-12-17 11:44:26 +00:00
gingerBill
0d665c637f using in importation statements 2017-12-17 11:17:54 +00:00
gingerBill
367013f589 Change Map and PtrSet grow rate 2017-12-12 23:39:20 +00:00
gingerBill
c980a30bad Merge branch 'checker-optimizations' into explicit-overloading
# Conflicts:
#	examples/demo.odin
2017-12-12 21:22:46 +00:00
gingerBill
78b459590c Print nil for nil procedures in fmt.odin 2017-12-12 21:21:55 +00:00
gingerBill
054e241033 Localize checker data 2017-12-12 20:23:36 +00:00
gingerBill
f7e9649be4 Disable struct field reordering (for the time being) 2017-12-12 18:21:40 +00:00
gingerBill
3703ca4df4 Explicit procedure group; Remove implicit procedure overloading 2017-12-09 18:11:36 +00:00
gingerBill
41b8281c73 Set type of a procedure grouping to nullptr 2017-12-06 11:13:00 +00:00
gingerBill
ba8371104d Set procedure grouping type to t_invalid 2017-12-06 11:01:52 +00:00
gingerBill
f0de994059 Make core library use procedure groupings rather than normal overloading 2017-12-04 22:01:51 +00:00
gingerBill
05ad38ae2d Fix procedure grouping 2017-12-03 23:19:25 +00:00
gingerBill
596a2c8355 Procedure grouping foo :: proc[foo16, foo32]; 2017-12-03 23:03:40 +00:00
gingerBill
1a75dfe075 Remove vector type (will be replaced by something else in the future) 2017-11-30 20:34:42 +00:00
gingerBill
cfabc0e61f Remove using in arrays; Remove _ non-exported struct fields
Start determining slow parts of the compiler
2017-11-28 22:12:33 +00:00
gingerBill
74fa7ca25d New slice memory layout (ptr+len); byte 2017-11-26 18:36:46 +00:00
gingerBill
5a9223afda nil_allocator; Fix IR type checking assert; append_string 2017-11-26 15:25:45 +00:00
gingerBill
9bd8bdaa5a Disable all cyclic importations 2017-11-13 23:53:01 +00:00
gingerBill
dffa791607 In error messages, remove with '; Fix error messages for switch` 2017-11-12 19:00:48 +00:00
gingerBill
ae3672608d Fix link_name overriding 2017-11-09 23:36:10 +00:00
gingerBill
e5c39fb2a9 Fix opening file without close; Minor fixes 2017-11-09 22:58:44 +00:00
gingerBill
66ee2cb6ed #const value procedure parameters; $N for polymorphic array lengths 2017-11-05 18:26:24 +00:00
gingerBill
04b917a60a More code clean up 2017-11-04 10:53:47 +00:00
gingerBill
e6c99cd289 Cleanup attribute handling 2017-11-04 10:26:56 +00:00
gingerBill
e7999f8450 Foreign context cleanup 2017-11-03 23:20:30 +00:00
gingerBill
0b29e42adb link_prefix; thread_local; fix link_name for file-scope variables 2017-11-03 23:11:06 +00:00