Commit Graph

1286 Commits

Author SHA1 Message Date
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
gingerBill
a9321bc73f Update README.md 2018-08-20 10:27:48 +01:00
gingerBill
e3f0ab7c3d Parallelize parser on *nix 2018-08-19 10:58:57 +01:00
gingerBill
5643ea1ba2 Fix typo 2018-08-19 10:56:23 +01:00
gingerBill
3b6523fbd9 Fix gbMutex for *nix 2018-08-19 10:34:31 +01:00
gingerBill
ffc4f01470 All enums in array indices 2018-08-17 19:38:15 +01:00
gingerBill
e326f41d16 Fix demo 2018-08-17 15:26:29 +01:00
gingerBill
1d0ac72e4a Disable non-comparison operations for enum (use bit_set for flags) 2018-08-17 15:24:44 +01:00
gingerBill
b216e44870 Add underlying type for bit_set 2018-08-17 15:11:41 +01:00
gingerBill
7d39b26cf4 Minor refactor 2018-08-16 20:52:46 +01:00
gingerBill
884d5fed9f bit_set['A'..'Z'], bit_set[0..8] 2018-08-16 15:16:57 +01:00
gingerBill
ec84188597 Fix typos in parser 2018-08-16 10:30:44 +01:00
gingerBill
85ac95f81b Constant evaluation for in expression for bit_sets 2018-08-16 00:07:26 +01:00
gingerBill
042550cf87 Fix default value bug 2018-08-15 19:36:32 +01:00
gingerBill
b3ebff715a Fix defer ir bug 2018-08-15 15:44:41 +01:00
gingerBill
1ee60663bb Fix issue #244 with constant array comparisons 2018-08-14 19:43:36 +01:00
gingerBill
59da98d3f0 Improve type hinting for compound literals 2018-08-14 19:39:28 +01:00
gingerBill
2d41a42f61 Cleaning type hinting for assignments 2018-08-14 19:33:42 +01:00
gingerBill
e1e4a916a5 Fix demo and improve type hinting 2018-08-14 19:29:31 +01:00
gingerBill
71f94bff76 Minor sanity features for bit_set 2018-08-14 19:22:48 +01:00
gingerBill
c7d6467cfa Fix assigning issue for bit sets 2018-08-14 18:43:47 +01:00