Christoffer Lerno
|
f86ef8a743
|
Remove tscoped. Replace str_index_of with "starts_with". Updated copy_zstring/copy. Fixed utf conversion functions. Initial work on "Path". Lexer fix on \\. ABI fix using distinct types. (bool)"" now works correctly. Bug in $if with switches/loops as the first statement fixed. Version bump.
|
2022-10-20 10:55:14 +02:00 |
|
Christoffer Lerno
|
0adb15139f
|
Fix bug in implicit fmul.
|
2022-10-18 14:02:20 +02:00 |
|
Christoffer Lerno
|
76ee384a4c
|
Fix of ternary / elvis where legs are bool or optional.
|
2022-10-18 14:02:20 +02:00 |
|
Christoffer Lerno
|
b1ed066e55
|
Fix coerce store / load to properly rely on alloc size like Clang does it. Version bump.
|
2022-10-15 22:12:52 +02:00 |
|
Christoffer Lerno
|
160659c4e3
|
Optimize sret / byval. Fixes to types and failables.
|
2022-10-15 02:45:19 +02:00 |
|
Christoffer Lerno
|
feba7b8ed2
|
Rename muladd and fmuladd and insert it at codegen.
|
2022-10-10 11:14:57 +02:00 |
|
Christoffer Lerno
|
407ed5a63d
|
Fix vector init and float promotion. Fix of 1.0f.
|
2022-10-08 14:30:17 +02:00 |
|
Christoffer Lerno
|
bb20a38cdb
|
Updated membersof. "Type.kind" renamed "Type.kindof"
|
2022-10-07 14:41:10 +02:00 |
|
Christoffer Lerno
|
db06f99445
|
"[]=" now works as overload. Improved eval resolution. Added $$FUNCPTR
|
2022-10-05 22:58:28 +02:00 |
|
Christoffer Lerno
|
e1b5b0b60c
|
Implement static finalize / initialize. Version bump.
|
2022-09-28 17:18:20 +02:00 |
|
Christoffer Lerno
|
58647043f4
|
Fix bug with $$clz, version update.
|
2022-09-26 11:48:12 +02:00 |
|
Christoffer Lerno
|
a4d4c27ca6
|
General reorganization, set any empty expression statement to nop. Version bump.
|
2022-09-24 21:22:29 +02:00 |
|
Christoffer Lerno
|
81bea9bad6
|
Updated untyped lists.
|
2022-09-24 14:35:58 +02:00 |
|
Christoffer Lerno
|
ad18d9ba48
|
Add .hash to integer types. Fixup of make and tmake. Updated map.c3 to become a working example. Fix bug in subarray -> pointer conversion. Search extension methods in std::core. Fix slice <-> slice copy.
|
2022-09-21 17:26:36 +02:00 |
|
Christoffer Lerno
|
4d5821408d
|
Add @castable and @convertible builtin macros, removes the need $castable and $convertible
|
2022-09-20 22:18:00 +02:00 |
|
Christoffer Lerno
|
be5c82cfa6
|
Add "$checks". Fix where $y++ could appear inside a runtime scope.
|
2022-09-20 18:32:36 +02:00 |
|
Christoffer Lerno
|
4fa4b2a631
|
Refactored builtins. Added reduce operations and powi. Version bump.
|
2022-09-19 14:58:48 +02:00 |
|
Christoffer Lerno
|
9b14340a57
|
Added prefetch builtin.
|
2022-09-18 23:27:42 +02:00 |
|
Christoffer Lerno
|
6220bda4a3
|
Use @operator([]), @operator(&[]) and @operator([]=) instead of names.
|
2022-09-17 23:33:27 +02:00 |
|
Christoffer Lerno
|
81a2474f75
|
Add methods to basic types. Remove "intvec" and "floatvec" overloads. Update bits and math to use the new functionality. Introduces [<*>] and [<>] types. Bump version to 0.3.47
|
2022-09-17 22:00:28 +02:00 |
|
Christoffer Lerno
|
a66c0942f8
|
Adding saturated builtins. Remove LLVM 12 support. Remove old llvm optimizer use.
|
2022-09-17 12:03:08 +02:00 |
|
Christoffer Lerno
|
c8166f6fdb
|
Adding $$reverse. Bump to 0.3.45
|
2022-09-16 14:53:17 +02:00 |
|
Christoffer Lerno
|
4d27150952
|
Adding $$shufflevector. Bump to 0.3.44
|
2022-09-16 13:39:03 +02:00 |
|
Christoffer Lerno
|
ba9b203c52
|
Cleanup.
|
2022-09-15 09:50:46 +02:00 |
|
Dmitry Atamanov
|
7a797d0f28
|
foreach(_r) for vectors
|
2022-09-15 00:16:29 +02:00 |
|
Christoffer Lerno
|
fa89ea7b79
|
Add checks on enum conversion in safe mode. Bump to 0.3.38.
|
2022-09-09 17:18:27 +02:00 |
|
Christoffer Lerno
|
a0a2e27127
|
$vasplat() implemented. $vacount removed (). Improved dynscope implementation. Version bump to 0.3.37.
|
2022-09-09 12:19:47 +02:00 |
|
Christoffer Lerno
|
58f8e00376
|
Incorrectly disallowed "inner" on enum. Bump to 0.3.36
|
2022-09-09 10:59:00 +02:00 |
|
Christoffer Lerno
|
1a9a71f4c4
|
Inline asm first checkin.
|
2022-09-05 13:29:03 +02:00 |
|
Dmitry Atamanov
|
7a07b8ff13
|
Add new built-ins (#551)
* Added new built-ins: $$copysign, $$exp2, $$floor, $$llrint, $$llround, $$lrint, $$lround, $$nearbyint, $$rint, $$round, $$roundeven
* Disable $$llrint, $$llround, $$lrint and $$lround
|
2022-08-30 09:50:28 +02:00 |
|
Dmitry Atamanov
|
5d15ec23bb
|
Rename $$fabs to $$abs
|
2022-08-29 12:51:02 +02:00 |
|
Christoffer Lerno
|
54d6b1a4ec
|
Fix $$min/$$max for vector.
|
2022-08-29 10:23:16 +02:00 |
|
Christoffer Lerno
|
e82a7e7918
|
Allow $$max and $$min to also work on ints.
|
2022-08-28 19:14:26 +02:00 |
|
Christoffer Lerno
|
4a296032ab
|
Add fshl fshr + new optimizer.
|
2022-08-28 16:22:10 +02:00 |
|
Christoffer Lerno
|
6b1370ba76
|
Support varargs for macros. Bugfix member access. Support macro varargs.
|
2022-08-27 02:25:08 +02:00 |
|
Christoffer Lerno
|
52bcf4654a
|
Reduce max params to 127. Hint when using more. Allow function pointers to have default and named parameters. Bump version to 0.3.27
|
2022-08-25 17:55:25 +02:00 |
|
Christoffer Lerno
|
57e1084734
|
Improvements to parameter parsing. Update "splat" name. Allow more orderings of named parameters. Allow named args after variant.
|
2022-08-24 20:06:08 +02:00 |
|
Christoffer Lerno
|
821b6a7ffa
|
Updated pointer offset handling. Version bump. This fixes variant[2] { &&1, &&2 } init.
|
2022-08-20 11:43:00 +02:00 |
|
Christoffer Lerno
|
ae51214c47
|
Added clz, ctz, popcount, bswap, bitreverse.
|
2022-08-16 21:18:14 +02:00 |
|
Christoffer Lerno
|
9a3e7fd34b
|
Add the ability to build static libraries. Bump version to 0.3.18
|
2022-08-16 09:11:02 +02:00 |
|
Christoffer Lerno
|
9a69a13b04
|
Fixes to or/and with rethrow.
|
2022-08-15 14:34:18 +02:00 |
|
Christoffer Lerno
|
63d9853bd3
|
Fixes to bitstruct.
|
2022-08-14 18:25:47 +02:00 |
|
Christoffer Lerno
|
7805fb8d1c
|
More codegen cleanup.
|
2022-08-13 00:19:09 +02:00 |
|
Christoffer Lerno
|
d93c7090f6
|
Adding wrapper functions to a lot of the LLVM calls.
|
2022-08-12 23:20:35 +02:00 |
|
Christoffer Lerno
|
44df6eb75b
|
Cleanup.
|
2022-08-12 18:13:24 +02:00 |
|
Christoffer Lerno
|
5cacc41925
|
Add global builder / updated codegen.
|
2022-08-12 01:50:48 +02:00 |
|
Christoffer Lerno
|
90dfc24491
|
General cleanup and rearranging code.
|
2022-08-11 02:20:22 +02:00 |
|
Christoffer Lerno
|
92b4eeaa35
|
Update codegen for failable folding. Fixes chained init, e.g. "int! a = b = TestErr.FOO!"
|
2022-08-10 21:32:29 +02:00 |
|
Christoffer Lerno
|
cfcf5cbc16
|
Bump to 0.3.7. Fixes issue with bitoperations on booleans.
|
2022-08-10 11:01:14 +02:00 |
|
Christoffer Lerno
|
9473adbc35
|
Added $$sysclock() builtin.
|
2022-08-10 01:24:16 +02:00 |
|