Christoffer Lerno
|
eeab73df4e
|
Miscompilation of do-while when the while starts with a branch #2394. Also: change do-while to make the lowering follow the execution.
|
2025-08-18 21:04:52 +02:00 |
|
Christoffer Lerno
|
334ee975b9
|
Assignment evaluation order now right->left, following C++17.
|
2025-07-31 11:49:42 +02:00 |
|
Christoffer Lerno
|
869bcf8b2b
|
Removing use of $assignable and deprecate it. Fix regression for stacktraces on MacOS. Added readline_to_stream. Regression: Chaining an optional together with contracts could in some cases lose the optional.
|
2025-07-21 03:20:40 +02:00 |
|
Christoffer Lerno
|
a20e74c401
|
Fixes to thread local pointer handling.
|
2025-07-06 00:22:21 +02:00 |
|
Christoffer Lerno
|
13bb2b6690
|
Const Enums From / to ordinal using casts is back. Add "--use-old-enums", deprecating lookup.
|
2025-06-30 21:41:52 +02:00 |
|
Christoffer Lerno
|
f67da4f315
|
Refactoring, optimize negation in if statement.
|
2025-06-25 12:33:17 +02:00 |
|
Christoffer Lerno
|
9052f07c19
|
Empty default case in @jump switch does not fallthrough #2147.
|
2025-05-19 21:18:23 +02:00 |
|
Christoffer Lerno
|
94b8330ac5
|
Function @require checks are added to the caller in safe mode. #186
|
2025-04-06 15:28:10 +02:00 |
|
Christoffer Lerno
|
5c77c9a754
|
- Change distinct -> typedef.
- Order of attribute declaration is changed for `alias`.
- Added `LANGUAGE_DEV_VERSION` env constant.
- Rename `anyfault` -> `fault`.
- Changed `fault` -> `faultdef`.
- Added `attrdef` instead of `alias` for attribute aliases.
|
2025-03-15 20:10:47 +01:00 |
|
Christoffer Lerno
|
ff75f2c21f
|
Update naming of enum const.
|
2025-03-10 00:15:50 +01:00 |
|
Christoffer Lerno
|
a088a5057a
|
Remove if (catch foo) { case ... } syntax.
|
2025-03-07 22:48:28 +01:00 |
|
Christoffer Lerno
|
2a895ec7be
|
First 0.7 update, removing all deprecated features.
|
2025-03-03 00:32:20 +01:00 |
|
Christoffer Lerno
|
c8e671d34b
|
Assert when using optional as init or inc part in a for loop #1942.
|
2025-02-08 18:58:44 +01:00 |
|
Christoffer Lerno
|
50c1aac9bb
|
Usage of @noreturn macro is type-checked as if it returns #1913.
|
2025-01-31 16:19:12 +01:00 |
|
Christoffer Lerno
|
9092defd46
|
defer is broken when placed before a $foreach #1912
|
2025-01-31 14:39:51 +01:00 |
|
Christoffer Lerno
|
a056efce04
|
Additional cleanup.
|
2025-01-30 19:32:20 +01:00 |
|
Christoffer Lerno
|
50385be614
|
Some minor cleanup and updates.
|
2025-01-30 01:58:51 +01:00 |
|
Christoffer Lerno
|
7d0e143224
|
Remove debug code.
|
2025-01-27 20:36:41 +01:00 |
|
Christoffer Lerno
|
a88364aaad
|
Fixes miscompilation of nested @jump #1896.
|
2025-01-27 11:35:55 +01:00 |
|
Christoffer Lerno
|
26dc88e096
|
Fix issues with @jump on empty default or only default #1893 #1894
|
2025-01-26 15:38:24 +01:00 |
|
Christoffer Lerno
|
eda997545a
|
Fix issue in optimized if lowering.
|
2025-01-24 17:14:34 +01:00 |
|
Christoffer Lerno
|
92b3490210
|
Fix issue where an if statement would not execute at all.
|
2025-01-24 16:42:59 +01:00 |
|
Christoffer Lerno
|
ba545b44f0
|
Change const checking in if lowering.
|
2025-01-24 16:31:27 +01:00 |
|
Christoffer Lerno
|
69d0fa8c44
|
Correctly check jump table size and be generous when compiling it #1877.
|
2025-01-22 22:33:35 +01:00 |
|
Christoffer Lerno
|
bb2a2526e4
|
Refactoring access + some macro renaming.
|
2025-01-20 02:44:39 +01:00 |
|
Christoffer Lerno
|
3033295884
|
Fix bug with enums with jump tables #1840 also affecting ranged enums entries.
|
2025-01-14 22:47:12 +01:00 |
|
Christoffer Lerno
|
214e806a33
|
Deprecate `fn void! main() type main functions.
|
2025-01-08 23:17:50 +01:00 |
|
Christoffer Lerno
|
dad97fc2d9
|
Improved #foo resolution inside of the compiler.
Deprecation of several `&` macros.
|
2025-01-08 12:55:20 +01:00 |
|
Christoffer Lerno
|
f801372074
|
Optimize temp variables in LLVM.
|
2025-01-06 04:25:47 +01:00 |
|
Christoffer Lerno
|
ea2dce0ab4
|
Make "?:" lower in the frontend.
|
2025-01-06 03:01:13 +01:00 |
|
Christoffer Lerno
|
d84e131b73
|
Add 'warnings' setting.
|
2025-01-03 23:37:37 +01:00 |
|
Christoffer Lerno
|
322c70433b
|
Refactoring, stop using int to bool as cast. Merge make any.
|
2024-12-31 16:32:37 +01:00 |
|
Christoffer Lerno
|
0ded93ab9b
|
Do not produce expression locations for windows.
|
2024-12-04 12:21:12 +01:00 |
|
Christoffer Lerno
|
b2724caeda
|
Begin work on asm label support.
|
2024-11-23 17:10:42 +01:00 |
|
Christoffer Lerno
|
50d31ba398
|
Fix issue with overloaded subscript and ++/--.
|
2024-11-20 23:44:42 +01:00 |
|
Christoffer Lerno
|
b882265e52
|
Start work on 0.6.5
|
2024-11-10 01:18:56 +01:00 |
|
Christoffer Lerno
|
cba25710fe
|
Refactor and unify linker visibility and fix issues with weak stdlib.
|
2024-10-11 21:45:44 +02:00 |
|
Christoffer Lerno
|
9f10996ac7
|
Bug when a continue is copied in a defer.
|
2024-10-08 22:13:30 +02:00 |
|
Christoffer Lerno
|
08219fc57e
|
Fix reordering semantics in struct assignment.
|
2024-09-17 22:41:49 +02:00 |
|
Christoffer Lerno
|
45a94cfe86
|
Asserts are now correctly included and traced in when running tests. Removed accidental debug trace.
|
2024-09-14 13:48:27 +02:00 |
|
Christoffer Lerno
|
3f1738e0fe
|
Unified constant handling.
|
2024-09-13 15:11:15 +02:00 |
|
Christoffer Lerno
|
4f54e273ab
|
Asserts are retained regardless of optimization when running tests.
|
2024-09-07 15:40:32 +02:00 |
|
Christoffer Lerno
|
2506c2579b
|
Prevent loading / storing large structs with LLVM.
|
2024-09-02 01:16:48 +02:00 |
|
Christoffer Lerno
|
22151a0a03
|
Fix bug with defer (catch err) when used together with regular defer.
|
2024-08-28 10:41:59 +02:00 |
|
Christoffer Lerno
|
b33cce385c
|
Fix of bug in defer (catch err) with a direct return error.
|
2024-08-26 11:49:41 +02:00 |
|
Christoffer Lerno
|
f8ca173fd8
|
Refactoring a bit.
|
2024-08-11 15:05:36 +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
|
ce17dbe240
|
Bug fix for rethrow + defer catch. More types and functions for win32
|
2024-07-02 02:48:48 +02:00 |
|
Christoffer Lerno
|
f521a0dd77
|
FOREACH_BEGIN / VECEACH replaced by FOREACH / FOREACH_IDX
|
2024-07-01 13:31:41 +02:00 |
|
Christoffer Lerno
|
e2a39aa12e
|
Updated mangling code.
|
2024-06-28 00:57:14 +02:00 |
|