Christoffer Lerno
|
99cfaa1583
|
Refactor protocols.
|
2023-10-06 22:31:41 +02:00 |
|
Christoffer Lerno
|
49c4595457
|
Dynamic protocols.
|
2023-10-05 15:20:41 +02:00 |
|
Christoffer Lerno
|
aa6101d8ea
|
Correctly deduce the return type for macros with implicit return. See #1018.
|
2023-09-26 17:37:27 +02:00 |
|
Christoffer Lerno
|
ee42992c37
|
Make local constants behave as global: see #974
|
2023-09-26 00:18:59 +02:00 |
|
Christoffer Lerno
|
9eef34049d
|
Remove vestiges of top down widening.
|
2023-09-19 09:45:56 +02:00 |
|
Christoffer Lerno
|
d67e846712
|
Remove cast from void! to anyfault. Rename @catchof to @catch
|
2023-09-09 22:49:32 +02:00 |
|
Christoffer Lerno
|
4c081f59ff
|
Refactoring, adding printf / printfn to all streams.
|
2023-09-03 10:14:04 +02:00 |
|
Christoffer Lerno
|
9a6d83f526
|
Updated stream API.
|
2023-09-03 01:14:15 +02:00 |
|
Christoffer Lerno
|
a23112fae6
|
Added parentof.
|
2023-08-29 11:51:09 +02:00 |
|
Christoffer Lerno
|
f912e53038
|
Fix where designated initializers had optional arguments. See #923
|
2023-08-13 20:57:50 +02:00 |
|
Christoffer Lerno
|
e22afe5424
|
Allow "if (try foo())"."
|
2023-08-13 18:15:20 +02:00 |
|
Christoffer Lerno
|
3e765a3f3e
|
Hash maps now copy keys if keys are copyable.
|
2023-08-10 21:14:24 +02:00 |
|
Christoffer Lerno
|
ada3ea08fc
|
Some initial parse output. Enforce handling of optionals. Fix issue where constants were folded despite the fact that they shouldn't be. Fix bug related to return foo() where foo() returns void!. (#893)
|
2023-07-27 22:58:41 +02:00 |
|
Christoffer Lerno
|
45d1b1d671
|
Fix where bitstructs in subarrays triggered the wrong lowering. Fixes #877
|
2023-07-23 20:50:53 +02:00 |
|
Christoffer Lerno
|
5a2fe4c9d9
|
Fix to macro codegen.
|
2023-07-19 01:34:50 +02:00 |
|
Christoffer Lerno
|
34306cbf5d
|
Fixes missing checks to body arguments. Do not create debug declaration for value-only parameter. Bug in alignment for atomics. Macro ref parameters are pointers.
|
2023-07-15 15:11:44 +02:00 |
|
Christoffer Lerno
|
c99f298cad
|
Fix issue where rethrow in a macro not allowing optional caused an assert to trigger. #849
|
2023-07-13 12:34:15 +02:00 |
|
Christoffer Lerno
|
dddeca1856
|
Remove assert(try). Prevent nextcase with expression if there is no switch. Fix issue with multiple declarations and compile time variables. Nextcase default. Dropped support for non-const-int ranges.
|
2023-07-11 01:04:35 +02:00 |
|
Christoffer Lerno
|
3b0370c8bb
|
Fix of tests.
|
2023-07-10 20:21:12 +02:00 |
|
Christoffer Lerno
|
7ed0aeced2
|
Should fix #814.
|
2023-07-04 16:30:09 +02:00 |
|
Christoffer Lerno
|
848a5212ef
|
Fixes #811. Update some stdlib methods. Header printout correctly picks a name. #804
|
2023-07-03 13:17:43 +02:00 |
|
Christoffer Lerno
|
f651a59294
|
Fix on rethrow + macros.
|
2023-06-27 13:19:28 +02:00 |
|
Christoffer Lerno
|
4d552ae44d
|
Update $include syntax and behaviour. Remove top level $if completely.
|
2023-06-21 16:27:53 +02:00 |
|
Christoffer Lerno
|
3bdeec3bc2
|
Incorrect defer/return value ordering in some cases.
|
2023-06-18 23:25:33 +02:00 |
|
Christoffer Lerno
|
b794c893d6
|
Dynamic dispatch.
|
2023-05-25 22:28:45 +02:00 |
|
Christoffer Lerno
|
ddd0497922
|
Better lowering of distinct types. Noreturn function call expr recognized as a "jump" for escape analysis. Preferring "def" in libs. To upper / to lower for ascii. Initial dynlib support.
|
2023-05-21 21:41:01 +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
|
8b0df0ee11
|
try? / catch?
|
2023-03-17 22:49:48 +01:00 |
|
Christoffer Lerno
|
e2b9a35dfe
|
Add tentative ".ordinal" on faults. Allow anyerr and fault to be initialized with null.
|
2023-03-15 14:32:00 +01:00 |
|
Christoffer Lerno
|
39dd3e40a6
|
Remove attribute list from test.
|
2023-03-08 16:23:12 +01:00 |
|
Christoffer Lerno
|
b94c647ead
|
Distinct String
|
2023-03-08 14:32:07 +01:00 |
|
Christoffer Lerno
|
9b81623680
|
Make string literals default to char[]
|
2023-03-08 11:24:11 +01:00 |
|
Christoffer Lerno
|
9eee250b10
|
Add DString init.
|
2023-03-06 09:12:52 +01:00 |
|
Christoffer Lerno
|
0dcad6f5cf
|
Improve and simplify casts.
|
2023-03-01 22:43:50 +01:00 |
|
Christoffer Lerno
|
dd4edfb747
|
Updated malloc/calloc/realloc/free deprecation of old helper functions. Add checks to prevent incorrect alignment on types when using malloc. Better errors from $assert. Added @deprecated. Fixed issue using named arguments after varargs.
|
2023-02-27 15:03:27 +01:00 |
|
Christoffer Lerno
|
2a6339a25e
|
Updated native variants of file handling. Fixed $if folding chain.
|
2023-02-23 18:00:34 +01:00 |
|
Christoffer Lerno
|
afa41f0c10
|
Updated name mangling.
|
2023-02-20 17:48:47 +01: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
|
df77b692d6
|
Support "typedef"
|
2023-02-14 16:49:27 +01:00 |
|
Christoffer Lerno
|
0f7d21330a
|
Optimize optional return.
|
2023-02-04 19:48:42 +01:00 |
|
Christoffer Lerno
|
dce171670f
|
Use printn rather than println. Add string methods for copying.
|
2023-02-04 19:48:42 +01:00 |
|
Christoffer Lerno
|
4ea81fe636
|
More riscv tests. Fix missing zero/signext attributes on calls. Fixes and simplification to riscv ABI.
|
2023-01-31 14:09:32 +01:00 |
|
Christoffer Lerno
|
539d733ceb
|
Remove LLVM 14 support. Simplify ABI lowering.
|
2023-01-30 12:39:04 +01:00 |
|
Christoffer Lerno
|
1ab304dc64
|
Fix of overalignment on deref.
|
2023-01-19 12:29:17 +01:00 |
|
Christoffer Lerno
|
dc16f65c8e
|
Change printfln to printfn. Make LLVM 15 tests default.
|
2023-01-11 18:00:08 +01:00 |
|
Christoffer Lerno
|
f622b3bd4c
|
Cleanup of naming change to optional. Fix of builtin optional handling.
|
2022-12-27 23:55:23 +01:00 |
|
Christoffer Lerno
|
f46697bc54
|
Updated casts (#684)
Cast code rework. Remove llvm_set_bool and friends.
|
2022-12-27 14:16:47 +01:00 |
|
Christoffer Lerno
|
0ae586585a
|
Fix .values .names .elements on "fault" types. Version bump.
|
2022-11-25 11:11:27 +01:00 |
|
Christoffer Lerno
|
da1a45f718
|
Remove iptrdiff and uptrdiff. Bump version to 0.3.100
|
2022-11-17 23:44:54 +01:00 |
|