Commit Graph

660 Commits

Author SHA1 Message Date
gingerBill
ea1690b7a1 Improve type inference for variadic parameters 2019-05-04 14:01:04 +01:00
gingerBill
a5ff983266 Fix parapoly related bugs #370 2019-05-04 13:11:56 +01:00
gingerBill
56c4039e72 #load directive (request from #368) (Basic implementation) 2019-04-20 15:05:35 +01:00
gingerBill
7580ec494b Disallow ambiguous singularly variadic polymorphic parameters #361 2019-03-30 10:43:53 +00:00
gingerBill
a137a06b00 Allow implicit selectors to unions with only one enum variant 2019-03-24 12:14:45 +00:00
gingerBill
0e1cfa5a0a Disallow casting to and from cstring/pointers
TODO: get a better error message
2019-03-19 20:34:06 +00:00
gingerBill
bdab5e00da Minor code clean up 2019-03-11 19:52:40 +00:00
gingerBill
5c04800831 Add type inference to index expressions for maps 2019-03-06 20:01:46 +00:00
gingerBill
c67ea97845 Add implicit selector expressions for in/notin 2019-03-06 19:08:37 +00:00
gingerBill
ad3b6ab718 Implicit Selector Expressions: .A 2019-03-06 16:19:47 +00:00
gingerBill
e551d2b25e Replace foreign export {} with @export 2019-02-23 21:39:47 +00:00
gingerBill
4c51384ad6 intrinsics.vector type (Experimental) 2019-02-23 16:44:16 +00:00
gingerBill
f917935f9d Disallow compound literals for struct #raw_union (fix) 2019-02-19 10:04:36 +00:00
gingerBill
ebaf48c07d Fix subtyping rules for heavily nested using in structs 2019-01-24 21:17:30 +00:00
gingerBill
345e790f52 Remove dead code 2019-01-24 15:52:51 +00:00
gingerBill
7c982b6e10 min & max for types 2018-12-27 12:12:14 +00:00
gingerBill
b504d6e12a notin operator 2018-12-21 11:34:15 +00:00
gingerBill
34b6486361 Fix constant out of bounds bug 2018-12-15 22:30:52 +00:00
gingerBill
1ce90b2166 Remove weird bit_set shorthand; Add extra type hinting 2018-12-15 21:46:27 +00:00
gingerBill
9d6666f333 Disallow casting between cstring and []u8 2018-12-14 21:58:12 +00:00
gingerBill
b7eebe5d00 Fix polymorphic record types with constant value parameters 2018-12-14 18:36:06 +00:00
gingerBill
57d4333ed3 Fix polymorphic procedure generation with debug information 2018-12-14 15:45:14 +00:00
gingerBill
26f11f12ab Fix polymorphic type parameter argument count checking #298 2018-12-14 15:05:26 +00:00
gingerBill
b54c35639b Fix issue with mixture of named and unnamed parameters for a struct literal 2018-12-14 14:35:23 +00:00
gingerBill
4205f0f0b1 Remove dummy testing code 2018-12-08 11:26:13 +00:00
gingerBill
bd62bceca6 Fix BigInt normalization issue #293 2018-12-08 11:25:35 +00:00
gingerBill
28583bfff8 Change procedure group syntax from proc[] to proc{}; deprecate proc[] (raises warning currently) 2018-12-02 18:01:03 +00:00
gingerBill
00161023cd Endian specific integers: e.g. i32 i32le i32be 2018-12-02 15:53:52 +00:00
gingerBill
9b063ad9a3 Fix poly proc determination by cloning the signature node 2018-11-25 17:57:49 +00:00
gingerBill
e496b95881 Subset and superset operators for bit_set: < <= > >= 2018-11-25 16:19:17 +00:00
gingerBill
0a4b88f9a6 Fix Issue with referencing a polymorphic struct in another package referencing itself #283 2018-11-25 10:35:49 +00:00
gingerBill
4c2f03b1f2 Fix compile time bounds check test 2018-11-23 10:38:17 +00:00
gingerBill
f61c4715c1 Allow opaque to be polymorphic 2018-11-17 10:08:06 +00:00
gingerBill
b55b1ffe14 opaque keyword and type 2018-11-11 17:08:30 +00:00
gingerBill
2ddb27869b Built-in procedure #defined 2018-10-27 18:44:28 +01:00
gingerBill
3742d9e7e9 Move atomic intrinsics to the new built-in package intrinsics 2018-10-20 10:44:02 +01:00
gingerBill
b171cc41e6 __atomic_* "intrinsics" using LLVM instructions 2018-10-17 21:16:01 +01:00
gingerBill
ef2931d4a5 Remove AstTypeType 2018-10-13 14:07:00 +01:00
gingerBill
71d987bd2e Fix runtime proc names; Change calling convention of context parameter 2018-09-15 10:46:46 +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
91477e9e69 Allow for optional ok for return 2018-09-11 10:55:30 +01:00
gingerBill
4f3837f0e6 Procedure inlining on call site 2018-09-09 14:46:28 +01:00
gingerBill
3cd6ae311d Parametric polymorphic union type 2018-09-08 12:02:25 +01:00
gingerBill
220485a2d2 typeid as keyword (ready to implement polymorphic name parameters) 2018-09-02 15:56:36 +01:00
gingerBill
1830c1e57c Allow bitwise operation on enums 2018-08-26 18:05:59 +01:00
gingerBill
a6b0ae71b2 Remove assert 2018-08-26 10:56:33 +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
a65eadee63 Fix for in enum iteration 2018-08-22 18:56:41 +01:00