Commit Graph

746 Commits

Author SHA1 Message Date
Ginger Bill
3bfaac0844 Fix decimal.odin assignment bug 2017-09-20 22:59:46 +01:00
Ginger Bill
14d0cbf6d7 Fix load order of files (again) 2017-09-20 21:42:42 +01:00
Ginger Bill
61a163d773 Fix crash with build_dll (Issue #100) 2017-09-20 21:00:40 +01:00
Ginger Bill
3a644dad78 Fix issue #101 2017-09-20 20:45:40 +01:00
Ginger Bill
d2c1c719bd Fix file load order and allow when statements at file scope 2017-09-20 20:38:32 +01:00
Ginger Bill
333db4dc94 Fix issues #95 and #96 2017-09-13 22:20:27 +01:00
Ginger Bill
cbcf4b6071 Fix issue #94 2017-09-11 22:49:26 +01:00
Ginger Bill
e6e0aba8c3 Remove when suffixes; Implement file scope when statement, evaluated in source order 2017-09-10 15:17:37 +01:00
Ginger Bill
85097a9958 Fix global variable initialization IR bug 2017-09-10 13:50:11 +01:00
Ginger Bill
7791c343c4 Allow for multiple library collections; Store AstFile as pointer 2017-09-10 13:26:14 +01:00
Ginger Bill
3bd762591a Fix path_is_directory for *nix 2017-09-07 21:33:37 +01:00
Ginger Bill
8e3b77aba8 Library collections 2017-09-07 20:55:59 +01:00
Ginger Bill
36e3a02f67 Fix bit_field type information 2017-09-02 22:54:11 +01:00
Ginger Bill
566a242ba3 Fix issue #92 2017-09-02 10:06:44 +01:00
Ginger Bill
1e3b3c107c IR Fix for UnionTagValue 2017-08-28 23:04:48 +01:00
Ginger Bill
2ac33285c1 Remove metagen.odin 2017-08-27 23:28:20 +01:00
Ginger Bill
7cb8016df3 Add examples 2017-08-27 23:27:12 +01:00
Ginger Bill
cf3c5a878a export declarations 2017-08-27 19:36:43 +01:00
Ginger Bill
2d20bde495 Remove () grouping for foreign_library 2017-08-27 19:24:30 +01:00
Ginger Bill
b9e347ef50 Replace import_load with using import . 2017-08-27 17:03:27 +01:00
Ginger Bill
6707c8750e Import cycle checking 2017-08-27 14:42:19 +01:00
Ginger Bill
e5502c13ee Restrict global variables to not allow tuples 2017-08-20 19:35:52 +01:00
Ginger Bill
f30d2e43ea Add priority_queue.cpp and ptr_set.cpp 2017-08-20 18:39:09 +01:00
Ginger Bill
6c73f9d3fd Global variable dependency initialization ordering
Fuck graph theory
2017-08-20 18:28:21 +01:00
Ginger Bill
1161aa829d Fix mem.Arena 2017-08-13 22:20:44 +01:00
Ginger Bill
01519f2fd5 Fix push_allocator 2017-08-13 22:09:26 +01:00
Ginger Bill
33aad3a8ce Merge branch 'master' of https://github.com/gingerBill/Odin 2017-08-12 20:04:58 +01:00
Ginger Bill
4262c125c5 Fix struct #packed alignment calculation 2017-08-12 20:04:35 +01:00
Ginger Bill
a09d5959ef Fix issues with OSX 2017-08-11 12:47:07 +01:00
Ginger Bill
d7bd3f8402 Fix compilation issues on OSX 2017-08-11 00:16:57 +01:00
Ginger Bill
0fff6a2b74 Fix i128 division 2017-08-10 23:46:12 +01:00
Ginger Bill
f4c0405221 Fix inline #raw_union bug in issue #87 2017-08-08 21:27:42 +01:00
Ginger Bill
49d337c830 v0.6.2; Use Ada_Case for types v0.6.2 2017-08-03 21:21:56 +01:00
Ginger Bill
294092979e Update build.bat 2017-08-01 21:38:06 +01:00
Ginger Bill
c454ede184 v0.6.1a v0.6.1a 2017-08-01 17:30:26 +01:00
Ginger Bill
d854c5003c Fix minor errors for *nix 2017-08-01 17:28:49 +01:00
Ginger Bill
66d8776b83 v0.6.1 v0.6.1 2017-08-01 15:18:37 +01:00
Ginger Bill
ba6ecf35cf Disable threading on *nix for the time being 2017-08-01 15:09:43 +01:00
Ginger Bill
10cc9cf661 Add mutexes to string buffer allocator uses 2017-08-01 14:24:40 +01:00
Ginger Bill
2db971eedd Use pthread mutex 2017-08-01 13:49:12 +01:00
Ginger Bill
1775e80b41 HACK: Ignore Mutex check 2017-07-31 23:18:21 +01:00
Ginger Bill
e4a93619db Update gb.h 2017-07-31 12:17:53 +01:00
Ginger Bill
4d14b3bcb4 Update remove_temp_files 2017-07-31 12:15:20 +01:00
Ginger Bill
9f4f5f9346 Add -keep-temp-files option 2017-07-31 12:06:04 +01:00
Ginger Bill
0fae31fb54 Extra type safety; Fix typos 2017-07-31 11:36:00 +01:00
Ginger Bill
8987a6630c v0.6.0 v0.6.0 2017-07-30 22:26:22 +01:00
Ginger Bill
10ff8e0426 Fix ir for TypeInfo.Map 2017-07-30 20:17:25 +01:00
Ginger Bill
a0ae02168a Update add_type_info_type to ignore polymorphic types 2017-07-30 20:13:23 +01:00
Ginger Bill
a3c1ac2030 Speed up llvm ir printing; Use CRITICAL_SECTION for Mutex on windows 2017-07-30 19:47:37 +01:00
Ginger Bill
629b248f53 Parallelization of the Parser
~66% reduction (unoptimized build)
~30% reduction (optimized build)
2017-07-30 19:01:02 +01:00