Commit Graph

99 Commits

Author SHA1 Message Date
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
5c52ffe24e Reorganize runtime package 2018-05-27 21:22:25 +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
56ff5496bc Minimal Type Info Dependency handling 2018-05-12 16:53:44 +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
5bf0f9d630 Fix type cycle bug 2018-03-23 15:23:14 +00:00
gingerBill
d63885a495 array_make 2018-02-25 19:23:52 +00:00
gingerBill
d247ba4751 Hexadecimal floats for "perfect values" 0h42f60000 == 123; use bit_cast in compiler 2018-02-25 15:09:16 +00:00
gingerBill
a0f2357cb3 Minor fix to demo 2018-02-17 19:40:33 +00:00
gingerBill
f51de2e488 Disallow #complete switch ranges 2018-02-17 19:24:02 +00:00
gingerBill
cabb2bb992 Commit 1000 🎉🎂 2018-02-17 19:15:58 +00:00
gingerBill
d560f6c920 Fix compile time issue regarding switch ranges 2018-02-17 19:05:14 +00:00
gingerBill
21432ba96e Clean up range code for switch 2018-02-17 18:34:14 +00:00
gingerBill
c341597657 Remove constant from switch for strings 2018-02-17 18:22:43 +00:00
gingerBill
c4d2d287fc #complete switch; Removal of dyncall 2018-02-17 11:54:08 +00:00
gingerBill
0ae3484171 Fix zero value initialization in IR 2018-02-11 11:13:52 +00:00
gingerBill
54976c3249 v0.8.0 2018-02-09 18:03:06 +00:00
gingerBill
8f913c656c Fix error reporting for assignment to a built-in procedure (#183) 2018-02-07 18:55:01 +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
b509946b13 Fix fallthrough within a nested block 2017-12-17 21:55:20 +00:00
gingerBill
32a502d14e using x in bar; 2017-12-17 11:44:26 +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
1a75dfe075 Remove vector type (will be replaced by something else in the future) 2017-11-30 20:34:42 +00:00
gingerBill
e00d88d82e Fix issue #157 2017-11-30 19:53:40 +00:00
gingerBill
cc28cda053 Fix issue #156 2017-11-28 22:49:34 +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
1608da2dc8 for key, val in some_map {}; for val, idx in some_array {} 2017-11-26 18:56:47 +00:00
gingerBill
adb6c7637e Fix 'fallthrough' 2017-11-25 11:16:23 +00:00
gingerBill
976415ff9d Fix key lookup of pointer to map 2017-11-21 22:32:41 +00:00
gingerBill
f6a56c2f82 Remove #const; Minor fixes 2017-11-12 20:15:17 +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
eb4b3f5976 Change push allocator system; update core libraries 2017-11-09 22:48:00 +00:00
gingerBill
dbb070524f Allow nil in a ternary statement 2017-11-09 21:10:08 +00:00
gingerBill
36b0b50ba4 Amend allocation procedures with caller location; Compound literals missing type can determine type in certain cases. 2017-11-09 20:51:13 +00:00
gingerBill
30adb9c770 Fix issue #134 2017-11-07 23:05:39 +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
gingerBill
414486829a Add string_set.cpp; Code clean up 2017-10-30 20:26:05 +00:00
gingerBill
3e05be8eb8 @(default_calling_convention = ...) for foreign blocks 2017-10-29 18:09:05 +00:00