Commit Graph

1126 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
b7858a66b9 Parallelize per file rather than per package 2018-05-28 12:06:50 +01:00
gingerBill
4e203feaf4 Change import lookup 2018-05-27 23:46:08 +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
a5763d6fee Err on empty directory packages 2018-05-27 14:12:10 +01:00
gingerBill
95482c554d Fix build.bat 2018-05-27 13:53:46 +01:00
gingerBill
10758710d4 Fix demo.odin 2018-05-27 13:53:19 +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
5b6770f3d2 Parse directories to be packages 2018-05-21 20:47:52 +01:00
gingerBill
718b80ba39 Fix demo for removing default struct values 2018-05-20 17:39:49 +01:00
gingerBill
4d052d5119 Remove code relating to default struct values 2018-05-20 17:31:46 +01:00
gingerBill
7e4c643401 Disable default struct field values; Update README.md 2018-05-20 16:00:39 +01:00
gingerBill
e920338f21 Remove old dependency 2018-05-20 08:58:48 +01:00
gingerBill
af2048570c Merge pull request #222 from shuaDev/master
added compiler command for only parsing and typechecking
2018-05-17 10:33:23 +01:00
Joshua Mark Manton
1ee4f849cb now return 1 if there were errors 2018-05-17 02:08:04 -07:00
Joshua Mark Manton
703393fc63 whitespace 2018-05-16 23:08:01 -07:00
Joshua Mark Manton
81420ab246 removed unneeded block 2018-05-16 23:07:27 -07:00
Joshua Mark Manton
c94d19718b added compiler command for only parsing and typechecking 2018-05-16 23:03:05 -07:00
gingerBill
e25c72ecdd Fix #219 and #220 2018-05-14 17:05:52 +01:00
gingerBill
780b81a59f Allow for NO_DEFAULT_STRUCT_VALUES
(will decide later if I want them or not)
2018-05-13 21:09:49 +01:00
gingerBill
9f1dda701d Comment out test 2018-05-13 18:43:21 +01:00
gingerBill
e597a8d72e Fix issues with exact integer bounds and remove dead code 2018-05-13 17:38:35 +01:00
gingerBill
de9a4b5164 Disable pointer arithmetic 2018-05-13 16:10:02 +01:00
gingerBill
319aca3101 Merge pull request #218 from hasenj/osx-timing
Fix timing on macos
2018-05-13 11:45:05 +01:00
Hasen Judy
9dc2c01aaa Fix timing on macos 2018-05-13 19:33:08 +09:00
gingerBill
6164672421 Change FreeAll to Free_All 2018-05-13 10:14:32 +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
324b7d65e7 Use __type_info_of internally 2018-05-12 20:17:12 +01:00
gingerBill
373a60b9ef type_info_of allows typeid; typeid_of allows ^Type_Info; Otherwise only allow type 2018-05-12 19:54:16 +01:00
gingerBill
2ef22e86e0 Make any use typeid rather than ^Type_Info 2018-05-12 18:40:49 +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
20fbece14c Change semantics for distinctness for pointers, arrays, dynamic arrays, and maps. 2018-05-12 10:47:32 +01:00
gingerBill
9fbfd86cde Add log to math.odin 2018-05-12 10:46:00 +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
b32af841c5 Merge branch 'master' of https://github.com/odin-lang/Odin 2018-05-06 15:31:32 +01:00
gingerBill
66b4252931 Fix #210 2018-05-06 15:31:18 +01:00
gingerBill
2c95eaa418 Merge pull request #216 from lunaticLipid/master
Fix copy-and-forget in math.odin
2018-05-02 19:40:59 +01:00