Christoffer Lerno
|
bc63c16c93
|
Add @select to perform the equivalent of a ? x : y at compile time.
|
2025-02-06 22:21:26 +01:00 |
|
Christoffer Lerno
|
8e0d6d11b9
|
Deprecated '&' macro arguments.
|
2025-01-08 22:13:49 +01:00 |
|
Christoffer Lerno
|
31cd839063
|
Switch to <* *> docs. Fix issue with dynamically loaded C3 libs with other C3 code.
|
2024-10-14 02:14:34 +02:00 |
|
Christoffer Lerno
|
2748cf99b3
|
- Fix issue where a compile time parameter is followed by "...".
- Fix issue with some conversions to untyped list.
- Experimental change: add `+++` `&&&` `|||` as replacement for `$concat`, `$and` and `$or`.
|
2024-08-04 23:16:25 +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
|
91ad3ee0a2
|
Fix regression for math::log
|
2024-07-01 16:52:39 +02:00 |
|
Christoffer Lerno
|
d5281b10dd
|
Cleanup use of macro inspection to use @typekind and @typeid macros.
|
2023-11-18 23:35:18 +01:00 |
|
Christoffer Lerno
|
9af37fe427
|
$and, $or, $is_const, $assignable, .is_eq, .is_ordered, $defined($vatype(2)) works looking if we can create a type, $defined(foo[0]) $defined(foo()). Remove $checks and @checked. Improvide casting checks to always work without destructive changes.
|
2023-10-24 22:06:04 +02:00 |
|
Christoffer Lerno
|
4ef74a1205
|
Add $$select. "--fp-math" options. Fixed issue with accidentally silent error on failed vector conversions.
|
2023-09-08 09:20:27 +02:00 |
|
Christoffer Lerno
|
172d561f07
|
Change syntax of $if, $assert, $include, $echo. Introduces $error
|
2023-05-06 12:18:00 +02:00 |
|
Christoffer Lerno
|
809321e20c
|
Updated grammar. Removal of elif. Removal of ':' ';' in some ct statements. Empty faults is now an error. Remove "define" for types. Remove "private". Better errors on incorrect bitstruct syntax. Introduction of wildcard type rather than optional wildcard. Removal of scaled vector type. mkdir and rmdir. Disallow define @Foo() = { @inline }. Add handling for @optreturn and change it to @return!. Restrict interface style functions. Updated x64 ABI. stdlib updates to string. Removed deprecated functions. Update how variadics are implemented. Extended error messages. x86 ABI fixes. Shift check fixes. '!' and '?' are flipped. No trailing ',' allowed in functions. Fix to string parsing. Allow l suffix. Simplifying flatpath. any replaces variant, anyfault replaces anyerr. Allow getting the underlying type of anyfault. De-duplicate string constants. Fix of readme. Extended list. Fix of "(MyEnum)x + 1". Clock and DateTime types. Fixes to array concat.
|
2023-04-21 10:56:39 +02:00 |
|
Christoffer Lerno
|
5ee0d52ff1
|
Deprecate :; in $if etc.
|
2023-03-20 01:03:54 +01:00 |
|
Christoffer Lerno
|
48a35b3277
|
Signbit, tests of frexp.
|
2023-03-18 19:13:17 +01:00 |
|
Christoffer Lerno
|
1480b8f872
|
Update examples and contracts.
|
2023-03-08 15:57:42 +01:00 |
|
Dmitry Atamanov
|
4519eebe4d
|
Added @likely, @unlikely and @expect macros. (#727)
|
2023-02-15 00:02:01 +01:00 |
|
Christoffer Lerno
|
4a102698b2
|
Add tests to math and add info in readme how to contribute.
|
2023-02-05 14:30:06 +01:00 |
|
Christoffer Lerno
|
b508a43f8f
|
Add lambdas.
|
2023-01-24 10:15:23 +01:00 |
|
Christoffer Lerno
|
2123e81e8e
|
Make more of the builtins do promotion from int to double for convenience.
|
2023-01-13 01:09:27 +01:00 |
|
Christoffer Lerno
|
70f6ad1b27
|
Added "values" module.
|
2022-10-31 14:40:58 +01:00 |
|