Commit Graph

1333 Commits

Author SHA1 Message Date
Chris Heyes
562bb6e4c4 Fix syntax error in core/os/os_linux.odin 2018-10-15 21:24:42 +01:00
gingerBill
ef2931d4a5 Remove AstTypeType 2018-10-13 14:07:00 +01:00
gingerBill
2d4aa2be6d Remove type as being a keyword 2018-10-13 14:04:34 +01:00
gingerBill
42b42db675 Add unimplemented and unreachable procedures; make os.exit a diverging procedure 2018-10-13 13:19:52 +01:00
gingerBill
73e9dbbf8c switch on typeid with type cases 2018-10-13 11:07:56 +01:00
gingerBill
0971a59493 Update runtime printing code 2018-10-11 18:19:29 +01:00
gingerBill
627c91124a Merge pull request #271 from Breush/267-bugfix-linux-heap-alloc-zero
Fixed heap alloc not allowing empty structs on Linux
2018-10-09 21:49:14 +01:00
Alexis Breust
4eba717281 Fixed heap alloc not allowing empty structs on Linux - Fixes #267 2018-10-09 08:34:48 +02:00
gingerBill
9623e5e032 Merge pull request #270 from Breush/263-bugfix-leading-zeros-count
Replaced __builtin_clz by long long version
2018-10-08 09:39:43 +01:00
Alexis Breust
805cc48f03 Replaced __builtin_clz by long long version - Fixes #268 2018-10-08 08:23:50 +02:00
gingerBill
1a4e25f141 Prefix runtime procedures 2018-09-29 21:09:19 +01:00
gingerBill
834308d8ce Fix using import override "bug" 2018-09-29 13:07:46 +01:00
gingerBill
1a18481d8b Fix context assignment with selector expressions 2018-09-24 12:04:26 +01:00
gingerBill
28c61c0f5d Merge branch 'master' of https://github.com/odin-lang/Odin 2018-09-24 10:22:33 +01:00
gingerBill
597fb452b1 Minor fixes 2018-09-24 10:22:22 +01:00
gingerBill
02f9a27f46 Merge pull request #264 from lunaticLipid/master
Remove reference to the runtime package within itself
2018-09-16 22:26:34 +01:00
Lipid
6cb605a025 Remove reference to the runtime package within itself 2018-09-16 08:19:33 +02:00
gingerBill
9f3e42e4ef Fix delete_key #262 2018-09-15 11:21:02 +01:00
gingerBill
71d987bd2e Fix runtime proc names; Change calling convention of context parameter 2018-09-15 10:46:46 +01:00
gingerBill
637899467c Merge branch 'master' of https://github.com/odin-lang/Odin 2018-09-15 10:14:40 +01:00
gingerBill
5bdb424c6b context.allocator = a; Remove __ from runtime procs; improve division for complex numbers 2018-09-15 10:14:24 +01:00
gingerBill
c62cfddb9c Merge pull request #263 from hasenj/master
fix macos thread_count value
2018-09-14 17:48:34 +01:00
Hasen Judy
14a4c28f8f fix macos thread_count value 2018-09-15 01:46:50 +09:00
gingerBill
f1e1814ff9 Syntactic sugar for anonymous enum within a bit set 2018-09-11 12:10:32 +01:00
gingerBill
b468cf141b Fix are_types_identical for bit_set 2018-09-11 11:14:46 +01:00
gingerBill
787ea1feba Fix polymorphic constant parameters for procedures 2018-09-11 11:09:42 +01:00
gingerBill
91477e9e69 Allow for optional ok for return 2018-09-11 10:55:30 +01:00
gingerBill
cfd0dfd2bf Remove assertion from constant parameter 2018-09-10 21:56:16 +01:00
gingerBill
46b1868185 Constant polymorphic names 2018-09-10 14:21:19 +01:00
gingerBill
4c4de1d6c4 Fix cloning of auto_cast Ast 2018-09-10 08:50:20 +01:00
gingerBill
c8b30de771 Update compiler flags for build.bat 2018-09-09 15:06:04 +01:00
gingerBill
4f3837f0e6 Procedure inlining on call site 2018-09-09 14:46:28 +01:00
gingerBill
76848e8807 Disallow inline for recursive procedures 2018-09-09 13:58:23 +01:00
gingerBill
12902821d6 Make diverging procedure types different from ones without a return type 2018-09-09 13:48:33 +01:00
gingerBill
f5549f6bde Make panic a diverging procedure 2018-09-08 12:17:16 +01:00
gingerBill
3825eab989 Diverging procedures proc() -> ! (no return) 2018-09-08 12:16:03 +01:00
gingerBill
3cd6ae311d Parametric polymorphic union type 2018-09-08 12:02:25 +01:00
gingerBill
26cfc0257d Fix array_ordered_remove typo 2018-09-08 10:44:18 +01:00
Ginger Bill
1d31eabb6e Fix minor parsing issue for polymorphic identifiers 2018-09-04 13:47:24 +01:00
Joshua Mark Manton
8cd2797b2e Fixed core library bugs after recent changes. (#257)
* Fix `delete_map` calling `delete_dynamic_array` instead of `delete_slice for its hashes.

* Removed print statements from `__dynamic_map_rehash`
2018-09-02 22:18:32 +02:00
gingerBill
11f5236434 Add $T: typeid/[]$E; Deprecate T: type/[]$E
`type` as a keyword will soon be removed in favour of polymorphic names (identifiers) in procedures
2018-09-02 16:33:54 +01:00
gingerBill
220485a2d2 typeid as keyword (ready to implement polymorphic name parameters) 2018-09-02 15:56:36 +01:00
gingerBill
eb274cf316 Remove test code 2018-08-30 19:33:16 +01:00
gingerBill
aa542980ce Change memory layout of map to be 3 words smaller 2018-08-30 19:14:10 +01:00
gingerBill
e0240c186f Rename buffer entity 2018-08-30 12:53:07 +01:00
gingerBill
ae58502a21 Make free_all built-in 2018-08-30 12:21:16 +01:00
gingerBill
6a3697279c Place assertf and printf to package fmt 2018-08-30 12:10:16 +01:00
gingerBill
c19ec5d65d Fix delete for dynamic array and map 2018-08-30 12:00:51 +01:00
gingerBill
15dca449c9 Add assertf and panicf 2018-08-30 11:46:57 +01:00
gingerBill
dda985f49d Add extra nil check for assert and panic 2018-08-30 11:16:06 +01:00