Commit Graph

1164 Commits

Author SHA1 Message Date
gingerBill
cd7e260f4e Fix cyclic polymorphic procedure usage and improve its error message 2018-06-15 22:49:06 +01:00
gingerBill
ba67e474d3 Make source code compile with 32 bit (but not build 32 bit code) 2018-06-15 21:46:03 +01:00
gingerBill
b92a8c513e Modify how build settings are handled 2018-06-15 21:38:22 +01:00
gingerBill
13572aeef0 Fix gb.h 2018-06-15 20:26:39 +01:00
gingerBill
5081ea1a0c Fix type aliasing comparison; Fix gb_utf8_decode 2018-06-15 19:59:35 +01:00
gingerBill
e9e7ce2606 Allow .allocator for dynamic arrays; Add mem.Pool 2018-06-12 19:10:14 +01:00
gingerBill
915dcb0c28 Fix min dependency check 2018-06-11 22:57:40 +01:00
gingerBill
8236c6d4b7 Allow for base enum type with an enum declaration 2018-06-11 22:50:13 +01:00
gingerBill
555fe37ad8 Remove the need for a look ahead 2018-06-11 18:06:58 +01:00
gingerBill
881f667558 Change how context <- is parsed to remove the need for a look-ahead 2018-06-11 18:02:04 +01:00
gingerBill
0a99595efe Remove using in stuff 2018-06-11 17:34:57 +01:00
gingerBill
268491b224 Use global arena for AstNode allocations 2018-06-09 19:53:06 +01:00
gingerBill
49ea9ed722 Entity aliasing clean up 2018-06-09 10:08:17 +01:00
gingerBill
d7108416c9 Remove dead code 2018-06-07 23:52:13 +01:00
gingerBill
b136630856 Fix type info generation for empty structs 2018-06-07 23:24:37 +01:00
gingerBill
fa6f31186a Merge pull request #228 from shuaDev/shwadev-packages
Fix some core lib errors on packages branch
2018-06-03 21:09:57 +01:00
gingerBill
b027b1d60f Fix min type info for polymorphic procedures and named types 2018-06-03 21:09:08 +01:00
Joshua Mark Manton
7ed1d931cb fix quick_sort_proc calling quick_sort instead of recursively calling itself 2018-06-03 11:27:57 -07:00
Joshua Mark Manton
2570296b01 fix core opengl ODIN_OS reference and pointer math stuff 2018-06-03 11:25:46 -07:00
Joshua Mark Manton
f0a4526250 Fix alloc.odin using old raw file 2018-06-03 11:22:42 -07:00
gingerBill
c39332c7e7 Revert name mangling 2018-06-03 19:18:47 +01:00
gingerBill
3f4b6b22dc Change our IR name mangling rules 2018-06-03 17:55:13 +01:00
gingerBill
e0549df03e Fix minor possible issue 2018-06-03 17:44:10 +01:00
gingerBill
e46662a546 Rename os.default_allocator to os.heap_allocator 2018-06-03 16:40:58 +01:00
gingerBill
360a74e2fe Merge pull request #226 from BrettRToomey/packages
Dsymutil fixes
2018-06-03 16:35:43 +01:00
Brett R. Toomey
597c4591bc Merge branch 'packages' of github.com:odin-lang/Odin into packages 2018-06-03 17:13:11 +02:00
Brett R. Toomey
80833ed703 Dsymutil fixes for macOS 2018-06-03 17:12:30 +02:00
gingerBill
106302189c Use gbString for opt_flags 2018-06-03 16:09:24 +01:00
gingerBill
05c5f98e8e Add -debug-compile parameter for llc 2018-06-03 15:55:14 +01:00
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
ccbb6df749 Handle multiple +build package tags with '!' (nots) 2018-05-28 21:25:08 +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
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