Commit Graph

192 Commits

Author SHA1 Message Date
gingerBill
d556fa2cd8 Remove special shared scope for runtime stuff 2018-06-03 15:06:40 +01:00
gingerBill
9bd7f023b2 Split up init_preload into specific parts 2018-06-03 11:38:02 +01:00
gingerBill
398109ac84 Remove need for __llvm_core 2018-06-03 10:51:43 +01:00
gingerBill
12b870ba66 Use const & for Array<AstNode *> parameters 2018-06-03 10:30:31 +01:00
gingerBill
6202fb8373 Re-allow when statements at the file scope 2018-06-02 19:44:34 +01:00
gingerBill
ced818ad54 Remove dead code from checker 2018-06-02 11:58:35 +01:00
gingerBill
6eb505a677 Comment based build tags for packages (basic and temporary) 2018-05-28 20:59:06 +01:00
gingerBill
619783ca1b Remove clutter parameters and begin parallelizing the type checker 2018-05-28 18:46:39 +01:00
gingerBill
642aa0bc4b Refactor: use CheckerContext rather than Checker in type checking part 2018-05-28 15:57:53 +01:00
gingerBill
45b3067068 Remove tmp_allocator from Checker 2018-05-28 14:15:08 +01:00
gingerBill
b7858a66b9 Parallelize per file rather than per package 2018-05-28 12:06:50 +01:00
gingerBill
a513b47780 Remove unused packages 2018-05-27 23:33:10 +01:00
gingerBill
547a2831c7 Clean up name mangling by using unique package names per project 2018-05-27 22:09:11 +01:00
gingerBill
5c52ffe24e Reorganize runtime package 2018-05-27 21:22:25 +01:00
gingerBill
86cf9383ea Fix delayed assert collection 2018-05-27 13:49:55 +01:00
gingerBill
307977d4cf Remove dead code 2018-05-27 13:30:18 +01:00
gingerBill
1beff539d7 Single file "main" file 2018-05-27 13:22:24 +01:00
gingerBill
df578d6ec5 Allow for either .odin file or directory as the initial start 2018-05-27 11:40:27 +01:00
gingerBill
6aae381e83 Move ODIN_* platform constants to core:os 2018-05-27 11:03:46 +01:00
gingerBill
7ee9051a56 IR now builds with the new package system 2018-05-27 10:49:14 +01:00
gingerBill
eb11edabe0 Add file scopes for the packages 2018-05-27 00:10:38 +01:00
gingerBill
c067b90403 Add basic package support (no IR support yet) 2018-05-26 23:12:55 +01:00
gingerBill
e597a8d72e Fix issues with exact integer bounds and remove dead code 2018-05-13 17:38:35 +01:00
gingerBill
61906613b0 Add typeid to Type_Info struct 2018-05-13 10:09:21 +01:00
gingerBill
3b48fa8e7d Fix default initialized values for globals (#217) 2018-05-12 21:22:39 +01:00
gingerBill
830f4f540f typeid 2018-05-12 17:39:04 +01:00
gingerBill
56ff5496bc Minimal Type Info Dependency handling 2018-05-12 16:53:44 +01:00
gingerBill
7547bc66cf Complete remove all non required preload stuff from min dep and only use what is used. 2018-05-12 10:38:40 +01:00
gingerBill
18a9fa7355 Improve minimal dependency system 2018-05-12 10:27:55 +01:00
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