Christoffer Lerno
|
ff36380ddf
|
Allow user-defined attributes to have typed parameters. Folding a constant array of structs at compile time would cause an assert.
|
2024-09-19 22:21:29 +02:00 |
|
Christoffer Lerno
|
f2cfa61a39
|
User defined attributes could not have more than 1 parameter due to bug.
|
2024-09-19 21:14:08 +02:00 |
|
Christoffer Lerno
|
81f1930349
|
Code cleanup. Correct deprecation notice on '$or'. Allow "self" param on macro method to be constant.
|
2024-09-16 10:40:34 +02:00 |
|
Christoffer Lerno
|
06a083bafc
|
Lambda / function type would accidentally be processed as a method.
|
2024-09-15 22:12:03 +02:00 |
|
Christoffer Lerno
|
3f1738e0fe
|
Unified constant handling.
|
2024-09-13 15:11:15 +02:00 |
|
Christoffer Lerno
|
d6cf622e49
|
Make subscript use its own "index" type rather than reuse Range.
|
2024-09-10 22:11:19 +02:00 |
|
Christoffer Lerno
|
df4eb3d0f0
|
Allow var in lambdas in macros. Allow ad hoc generic declaration in lambdas and type definitions. Fix deprecation flag.
|
2024-09-09 21:46:06 +02:00 |
|
Christoffer Lerno
|
1e570bf506
|
Rename vec_erase_ptr_at to vec_erase_at.
|
2024-09-06 00:41:07 +02:00 |
|
Christoffer Lerno
|
ad0e97ab7b
|
Deprecated inline generic types, deprecated tuple / triple types.
|
2024-09-05 23:42:20 +02:00 |
|
Christoffer Lerno
|
e795745e43
|
lvalue refactoring.
|
2024-09-05 22:09:35 +02:00 |
|
Christoffer Lerno
|
31f9ed3e6b
|
Methods can now properly be aliased using def #1393.
|
2024-08-30 12:50:39 +02:00 |
|
Christoffer Lerno
|
388578c209
|
Too restrictive compile time checks for @const. Fixes to wasm nolibc in the standard library.
|
2024-08-26 13:33:15 +02:00 |
|
Christian Buttner
|
59ed118e66
|
Address/memory/thread sanitizer.
|
2024-08-23 16:06:22 +02:00 |
|
Christoffer Lerno
|
7d643942b4
|
Fix issues when checking methods and interfaces hasn't been resolved yet.
|
2024-08-11 16:16:16 +02:00 |
|
Christoffer Lerno
|
f8ca173fd8
|
Refactoring a bit.
|
2024-08-11 15:05:36 +02:00 |
|
Christoffer Lerno
|
b08e6743be
|
When resolving inherited interfaces, the interface type wasn't always resolved.
|
2024-08-11 10:19:20 +02:00 |
|
Christoffer Lerno
|
44db4a21fc
|
Add @tag and .tagof .has_tagof. Allow bitstructs to have attributes.
|
2024-08-09 15:03:44 +02:00 |
|
Christoffer Lerno
|
800f7970a7
|
Fixes to the socket functions. Improved output when pointer is out of range. Better error when casting to a distinct fails.
|
2024-08-06 17:08:03 +02:00 |
|
Christoffer Lerno
|
f7d6f93f1b
|
Refactoring -> ensure built in aliases have a valid unit.
|
2024-08-05 22:48:18 +02:00 |
|
Christoffer Lerno
|
14358417c8
|
Refactoring -> ensure built in aliases have a valid unit.
|
2024-08-05 21:44:02 +02:00 |
|
Christoffer Lerno
|
43ea05aad2
|
Remove $expand.
|
2024-08-03 12:47:19 +02:00 |
|
Christoffer Lerno
|
8498cb6258
|
Add @const attribute for macros, for better error messages with constant macros #1293
|
2024-08-02 15:01:02 +02:00 |
|
Christoffer Lerno
|
1aab8b87ec
|
Add experimental @noalias attribute.
|
2024-08-01 22:57:26 +02:00 |
|
Christoffer Lerno
|
7f00f35f4b
|
$expand macro, to expand a string into code. opt project setting now properly documented.
|
2024-08-01 00:07:16 +02:00 |
|
Christoffer Lerno
|
e66001c182
|
Using winmain would call the wrong definition #1265.
|
2024-07-29 15:04:32 +02:00 |
|
Christoffer Lerno
|
623dd9f3b3
|
Added "weak" type aliases def Foo = my_foo::Foo @weak;
|
2024-07-26 01:13:48 +02:00 |
|
Christoffer Lerno
|
379637f214
|
Scalar -> vector not implicit in call or assign.
|
2024-07-24 14:00:09 +02:00 |
|
Christoffer Lerno
|
b25c573ae3
|
Indexing into a constant array / struct now works at compile time. Constants defined by indexing into another constant could fail codegen. Stdlib nolibc code bugs fixed.
|
2024-07-20 01:20:03 +02:00 |
|
Christian Buttner
|
8285720180
|
Add tests and improvements for @nopadding and @compact.
|
2024-07-17 17:00:36 +02:00 |
|
Christoffer Lerno
|
27fd7a9088
|
- Fix problem where a $$FUNC would return "<GLOBAL>" when evaluated for a static in a function #1236.
|
2024-07-13 19:57:04 +02:00 |
|
Christoffer Lerno
|
0e62423e06
|
Bitstruct in struct fix.
|
2024-07-13 01:54:45 +02:00 |
|
Christoffer Lerno
|
3f45ed14b9
|
Compare @compact structs.
|
2024-07-12 23:54:07 +02:00 |
|
Christoffer Lerno
|
ca4b782912
|
MemberIndex -> ArrayIndex
|
2024-07-12 18:27:05 +02:00 |
|
Christian Buttner
|
1976a11154
|
@nopadding and @compact attributes (#1235)
Add `@nopadding` attribute. `@compact`
|
2024-07-12 18:25:09 +02:00 |
|
Christoffer Lerno
|
5cf1f13328
|
Private function called from nested macro not visible to linker #1232
|
2024-07-09 22:01:39 +02:00 |
|
Christoffer Lerno
|
fcdb25c426
|
Update some comments and variable names.
|
2024-07-04 02:15:08 +02:00 |
|
Christoffer Lerno
|
416cd30b42
|
Wrong size for structs containing overaligned structs #1219
|
2024-07-02 15:17:41 +02:00 |
|
Christoffer Lerno
|
f521a0dd77
|
FOREACH_BEGIN / VECEACH replaced by FOREACH / FOREACH_IDX
|
2024-07-01 13:31:41 +02:00 |
|
Christoffer Lerno
|
7dcd1618d8
|
Fixes to header gen.
|
2024-06-28 11:28:05 +02:00 |
|
Christoffer Lerno
|
e2a39aa12e
|
Updated mangling code.
|
2024-06-28 00:57:14 +02:00 |
|
Christoffer Lerno
|
079cbb8f68
|
Updated module mangling, restrict module names.
|
2024-06-27 13:37:37 +02:00 |
|
Christoffer Lerno
|
0a8a63bc15
|
Fix to headergen. Updated module name store.
|
2024-06-26 11:43:14 +02:00 |
|
Christoffer Lerno
|
26f3fe37f4
|
Fix of built in aliases for headers.
|
2024-06-24 17:23:59 +02:00 |
|
Christoffer Lerno
|
4cff80ecea
|
Header exports implicit.
|
2024-06-24 15:04:44 +02:00 |
|
Christoffer Lerno
|
616bde2c4d
|
Further header updates.
|
2024-06-24 11:34:23 +02:00 |
|
Christoffer Lerno
|
201b1b7fbc
|
- Bitstructs, unions and flexible arrays now correctly emitted in headers.
- Require `@export` functions to have `@export` types.
|
2024-06-23 23:39:58 +02:00 |
|
Christoffer Lerno
|
e02f73417c
|
Trailing body arguments may now be &ref, #hash, $const and $Type arguments.
|
2024-06-22 22:04:20 +02:00 |
|
Christoffer Lerno
|
e8e615f4db
|
Remove superfluous code and flags for type resolution.
|
2024-06-21 17:45:33 +02:00 |
|
Christoffer Lerno
|
8878a49a1d
|
Introduction of TYPE_FUNC_PTR / TYPE_FUNC_RAW. Fixed rules for function pointers.
|
2024-06-21 10:46:28 +02:00 |
|
Christoffer Lerno
|
3a7bc4d253
|
Return the typekind "FUNC" for a function pointer.
|
2024-06-20 20:47:24 +02:00 |
|