Christoffer Lerno
|
25bccf4883
|
New faults and syntax (#2034)
- Remove `[?]` syntax.
- Change `int!` to `int?` syntax.
- New `fault` declarations.
- Enum associated values can reference the calling enum.
|
2025-03-10 00:11:35 +01:00 |
|
Christoffer Lerno
|
5e8816e6df
|
Fixes to native backtrace.
|
2023-11-13 17:20:46 +01:00 |
|
Christoffer Lerno
|
f651a59294
|
Fix on rethrow + macros.
|
2023-06-27 13:19:28 +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
|
e3416a1c40
|
Allow @test with modules. Change name mangling for non exports.
|
2023-02-20 16:02:30 +01:00 |
|
Christoffer Lerno
|
0aa776d61b
|
Allow @export on modules, to implicitly @export all in the module section. Add expect on error comparisons, expecting them to be false by default. Support @extern on modules.
|
2023-02-16 13:05:09 +01:00 |
|
Christoffer Lerno
|
dc16f65c8e
|
Change printfln to printfn. Make LLVM 15 tests default.
|
2023-01-11 18:00:08 +01: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
|
d3a053e049
|
Updated mangling and bump to 0.2.18
|
2022-07-20 12:22:03 +02:00 |
|
Christoffer Lerno
|
09d50ebf6c
|
New import rules.
|
2022-06-04 01:41:23 +02:00 |
|
Christoffer Lerno
|
9691d50a6f
|
@ is now part of the name of an attribute or a macro. Macros without '@' must be function-like.
|
2022-05-08 22:16:33 +02:00 |
|
Christoffer Lerno
|
890c4bc435
|
0.2.0. Build system improvements. Target changes x64-windows -> windows-x64, x64-darwin -> macos-x64. Improved mac support. LLD linking for Mac, Windows, Linux. Cross linking for Mac, Windows. Clean up string use. Fix of debug handling of multiple compilation units per module. MSVC CI
|
2022-04-26 13:20:33 +02:00 |
|
Christoffer Lerno
|
b31629c5e8
|
Removal of "or_else jump". Fixes to defer & macros/blocks, optimized failable return. @noscope macros removed. Disallow meaningless defer.
Correctly show error on return or rethrow inside of a defer. Fix copying an access expression. Removing scoped expr.
|
2022-03-26 20:16:36 +01:00 |
|