Commit Graph

1306 Commits

Author SHA1 Message Date
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
gingerBill
12256beeb2 Prevent other parameters being the default value 2018-08-30 11:12:57 +01:00
gingerBill
0858ae2024 Add utf8_to_ucs2 for package win32 so that the wide procedures can used by default 2018-08-30 10:59:46 +01:00
gingerBill
6c18864291 Add default_assertion_failure_proc to the minimum dependency build 2018-08-29 21:15:11 +01:00
gingerBill
ae57284912 Add Assertion_Failure_Proc to context 2018-08-29 21:10:13 +01:00
gingerBill
001837e6bb Temporary allocator for context 2018-08-29 19:55:55 +01:00
gingerBill
28523f17e2 Add default allocator to allocation related procedures e.g. alloc, free, delete, make 2018-08-28 20:14:56 +01:00
gingerBill
ae2af8315e Allow for default parameters that are non-constant entities, but not any non-constant expression 2018-08-28 20:03:27 +01:00
gingerBill
adbb3bb75f Add -lld flag for using "bin\lld-link.exe" on Windows 2018-08-28 19:28:34 +01:00
gingerBill
6181c4edb3 Update 2018-08-28 19:26:05 +01:00
gingerBill
830c194da5 Allow enums for array lengths llvm-windows 2018-08-26 18:23:17 +01:00
gingerBill
1830c1e57c Allow bitwise operation on enums 2018-08-26 18:05:59 +01:00
gingerBill
e5735af6d6 Disable for in over cstring 2018-08-26 15:10:23 +01:00
gingerBill
a6b0ae71b2 Remove assert 2018-08-26 10:56:33 +01:00
gingerBill
3365baee8f runtime.Typeid_Bit_Field layout to store more information into the typeid 2018-08-25 12:11:48 +01:00
gingerBill
cc88dd0b71 Allow for variadic min max procs
Request #252
2018-08-25 11:12:52 +01:00
gingerBill
f050bfe872 Fix comparisons with union 2018-08-25 10:39:19 +01:00
gingerBill
ab71acc3a5 Disable abs for arrays #254 2018-08-25 10:27:44 +01:00
gingerBill
0a85d1af6b Improve error messages for using on fields 2018-08-24 22:28:00 +01:00
gingerBill
68adadb01a Allow using in structs on arrays with count <= 4 2018-08-24 22:12:30 +01:00
gingerBill
d56f458d11 Fix file scope #assert 2018-08-24 17:42:13 +01:00
gingerBill
a65eadee63 Fix for in enum iteration 2018-08-22 18:56:41 +01:00
gingerBill
16dfae62bc Allow casting to and from rawptr and cstring #249 2018-08-22 15:19:04 +01:00
gingerBill
fe680a8b1f Fix default return values #250 2018-08-22 15:17:29 +01:00
gingerBill
54fe9f3eb1 Improve min dep for min/max/abs/clamp 2018-08-21 21:43:38 +01:00
gingerBill
cbc6c2666b Improve proc group scoring algorithm 2018-08-21 14:11:18 +01:00
gingerBill
a4d0ac1802 Merge branch 'master' of https://github.com/odin-lang/Odin 2018-08-20 19:20:44 +01:00
gingerBill
0dc29a7208 Implement suggestions from #247 2018-08-20 19:20:28 +01:00