Christoffer Lerno
bb20a38cdb
Updated membersof. "Type.kind" renamed "Type.kindof"
2022-10-07 14:41:10 +02:00
Christoffer Lerno
f010f6a926
Add qnameof, nameof, extnameof to types.
2022-10-06 19:31:52 +02:00
Christoffer Lerno
ec1a5d97c9
Support for memberof/returns/params.
2022-10-06 17:18:16 +02:00
Christoffer Lerno
ee533c5500
Update listable type properties.
2022-10-06 14:52:44 +02:00
Christoffer Lerno
a281dbe812
Added $$TIME, $$DATE, $$FUNCTION. Builtin defines listed.
2022-10-06 11:57:59 +02:00
Christoffer Lerno
db06f99445
"[]=" now works as overload. Improved eval resolution. Added $$FUNCPTR
2022-10-05 22:58:28 +02:00
Christoffer Lerno
05d4ec55f6
Fix of $$FUNC in methods.
2022-10-05 10:17:11 +02:00
Christoffer Lerno
eb86b83bd7
Prevent ct_eval from returning an rvalue.
2022-10-04 22:41:07 +02:00
Christoffer Lerno
4783946476
Version bump. Updated printf using "Formatter". Fix to initializers.
2022-10-03 13:06:57 +02:00
Christoffer Lerno
9f7ed00f04
Fixes to function pointer conversion.
2022-10-02 00:22:21 +02:00
Christoffer Lerno
f05ffc84d8
Minor fixes.
2022-10-01 22:14:07 +02:00
Christoffer Lerno
55f7046da8
Fix of static init with debug turned on.
2022-10-01 17:53:08 +02:00
Christoffer Lerno
c5b9b6c761
Single module compilation.
2022-09-30 13:56:08 +02:00
Christoffer Lerno
258a6ba97a
Bug fixes, addition of hash map implementation. ( #605 )
...
* Simple hash map. Fix of bug preventing cast of typeid. Allow declarations in global "$checks". Fix to non-constant default args. Correctly duplicate macro contracts. Allow typeid to add methods. Fix printing of subarrays. Fix bug when printing a function with a module. Fix bug with initializer and creating local variables. Add the compile-only option to the help.
2022-09-29 20:19:31 +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
52f3948026
Cleanup of untyped lists.
2022-09-23 10:47:56 +02:00
Christoffer Lerno
46c182f3d1
Fix of bug in nextcase semantic checking. Cleanup and refactoring.
2022-09-22 16:14:39 +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
e7fad16d0f
Added stringify tests and $typefrom. Bump to 0.3.50.
2022-09-18 20:52:25 +02:00
Christoffer Lerno
c7f0f58e82
Fix stringify bug.
2022-09-18 01:26:06 +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
d4aec525f5
Fixes to asm. Added additional x86 instructions.
2022-09-16 00:41:19 +02:00
Christoffer Lerno
755d6f93b7
Extends = to work with macros and allows => alternative. Disallow statements.
2022-09-14 23:30:39 +02:00
Christoffer Lerno
1af41ee394
Fix min/max. Also fix of printf
2022-09-14 12:22:57 +02:00
Christoffer Lerno
03c627f646
Fix asm string bug.
2022-09-13 19:15:17 +02:00
Christoffer Lerno
3a09f71830
Added initial intvec/floatvec operator
2022-09-11 22:52:01 +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
8eefce235f
Rename $vaarg functions. Bump version to 0.3.35.
2022-09-07 12:32:43 +02:00
Christoffer Lerno
54d6b1a4ec
Fix $$min/$$max for vector.
2022-08-29 10:23:16 +02:00
Christoffer Lerno
bb9c8fb93e
Fix of macro/fn use of operator overloading for foreach.
2022-08-28 23:33:39 +02:00
Christoffer Lerno
b863ae2ec5
Fix of binary literals. Bump version to 0.3.32. Renamed rotate_right and rotate_left to rotl and rotr which are the commonly used names.
2022-08-28 22:40:40 +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
c9ae0779e7
Locals lookup is no longer hacked to be used for member search. Fixed bug where you could break out of an expression block using a labelled break. Bump to 0.3.29
2022-08-28 01:00:11 +02:00
Christoffer Lerno
a4e603442b
Version bump
2022-08-27 02:25:38 +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