Christoffer Lerno
|
e91f6e268e
|
0.5.2: Allow trailing comma in calls and parameter declarations #1092. Fixes issue where single character filenames like 'a.c3' would be rejected. Improve error messages for incorrect user defined foreach. Fix bug with generics in generics. Fix to error with modified vector parameters. Crash with lhs vector inference. Fixes to priority queue.
|
2023-12-23 23:15:51 +01:00 |
|
Christoffer Lerno
|
99cfaa1583
|
Refactor protocols.
|
2023-10-06 22:31:41 +02:00 |
|
Christoffer Lerno
|
cfe5c649c5
|
Prevent ordering issues with "builtin" by resolving it early.
|
2023-09-05 17:29:54 +02:00 |
|
Christoffer Lerno
|
c07dc700df
|
Fix of #936. Also some general cleanup.
|
2023-08-18 15:55:43 +02:00 |
|
Christoffer Lerno
|
8a4e6f7dd3
|
Fix bug where @local declarations would get registered as @private for generic modules. #856. Update to consistent tab spacing.
|
2023-07-15 19:27:24 +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
|
4f7b42cdc4
|
New generic syntax and ad hoc invocation.
|
2023-07-06 23:43:36 +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
|
4c1edfb941
|
Dev (#777)
* The new @if directive.
|
2023-06-10 23:16:28 +02:00 |
|
Christoffer Lerno
|
3a725d1348
|
Better error on missing ';' in certain cases.
|
2023-05-15 08:45:10 +02:00 |
|
Christoffer Lerno
|
172d561f07
|
Change syntax of $if, $assert, $include, $echo. Introduces $error
|
2023-05-06 12:18:00 +02:00 |
|
Christoffer Lerno
|
db8c46d6c5
|
Addition of "distinct" and "inline" as keywords. Removal of "alias" keyword.
|
2023-05-04 08:48:17 +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
|
ad7ee06635
|
Grammar updates. Updated enum member parsing.
|
2023-03-22 21:46:47 +01:00 |
|
Christoffer Lerno
|
93fa135d28
|
Deprecation of define Type = ...
|
2023-03-20 22:56:06 +01:00 |
|
Christoffer Lerno
|
02d073675a
|
Fix to deprecated syntax.
|
2023-03-20 11:21:55 +01:00 |
|
Christoffer Lerno
|
cc19168c7b
|
Some general cleanup.
|
2023-02-28 01:15:30 +01:00 |
|
Christoffer Lerno
|
818396b6f3
|
Updated module visibility import visibility. Fixes to @local
|
2023-02-15 09:47:51 +01:00 |
|
Christoffer Lerno
|
5e457be605
|
Implement more @export / @private improvements. Make @private default… (#729)
|
2023-02-13 08:31:40 +01:00 |
|
Christoffer Lerno
|
3b49b87784
|
Fix for nolibc (eg wasm). Add multi global declarations. Simplicity wasm export / import. Prevent "extern" functions to have a function body.
|
2023-02-11 11:16:31 +01:00 |
|
Christoffer Lerno
|
b508a43f8f
|
Add lambdas.
|
2023-01-24 10:15:23 +01:00 |
|
Christoffer Lerno
|
2a4d43d7c7
|
Fix issue when using ct types as body parameters.
|
2022-12-09 00:00:33 +01:00 |
|
Christoffer Lerno
|
eaaa5362a5
|
Output messages at compile time.
|
2022-12-07 18:48:55 +01:00 |
|
Christoffer Lerno
|
02374c6aab
|
Generic modules also accepts integers and booleans.
|
2022-10-23 19:16:38 +02:00 |
|
Christoffer Lerno
|
bd0e8f1ef1
|
Allow imports anywhere in the module outside of ct statements.
|
2022-10-20 23:54:36 +02:00 |
|
Jean-Baptiste Perrier
|
469ec54282
|
Add single function declaration
|
2022-09-14 23:16:23 +02:00 |
|
Christoffer Lerno
|
a0a2e27127
|
$vasplat() implemented. $vacount removed (). Improved dynscope implementation. Version bump to 0.3.37.
|
2022-09-09 12:19:47 +02:00 |
|
Christoffer Lerno
|
1a9a71f4c4
|
Inline asm first checkin.
|
2022-09-05 13:29:03 +02:00 |
|
Christoffer Lerno
|
6b1370ba76
|
Support varargs for macros. Bugfix member access. Support macro varargs.
|
2022-08-27 02:25:08 +02:00 |
|
Christoffer Lerno
|
57e1084734
|
Improvements to parameter parsing. Update "splat" name. Allow more orderings of named parameters. Allow named args after variant.
|
2022-08-24 20:06:08 +02:00 |
|
Christoffer Lerno
|
f513b6237f
|
Improved error messages for foo(void), foo(int!) declarations.
|
2022-08-11 12:59:55 +02:00 |
|
Christoffer Lerno
|
812bd8b3d0
|
Added $converable / $castable. Simplify and corrected if try/catch parsing. Fix bug with { [A] = 1 }
|
2022-07-24 15:10:04 +02:00 |
|
Christoffer Lerno
|
7e0a29ef40
|
Fix constant typeid comparisons. Allow methods to use & and * and constants. Improved error messages. Updated String type with generic append.
|
2022-07-24 15:10:04 +02:00 |
|
Christoffer Lerno
|
e02362de0c
|
Resolve contracts as they are encountered.
|
2022-03-11 11:17:39 +01:00 |
|
Christoffer Lerno
|
322d714305
|
Dev (#404)
Remove 'errtype' name and reduce Expr / TypeInfo memory footprint.
|
2022-03-08 23:38:27 +01:00 |
|
Christoffer Lerno
|
069a2d40cb
|
Changing how defer works. Remove of undef. Simplify ensure.
|
2022-03-08 14:15:31 +01:00 |
|
Christoffer Lerno
|
4f4bc80953
|
Symtab has a new hash map type. New, small, sourcespan, external symbols simplified. Updated docs.
|
2022-03-01 10:32:52 +01:00 |
|
Christoffer Lerno
|
8922399c36
|
Add $for
|
2022-01-24 22:52:01 +01:00 |
|
Christoffer Lerno
|
1d5ff71b21
|
Rearchitecture contexts. Fixing macro resulution, hash arguments and defers.
|
2022-01-04 20:45:58 +01:00 |
|
Christoffer Lerno
|
f6de1f7b74
|
Somewhat clearer code around lexing.
|
2021-12-24 01:09:21 +01:00 |
|
Christoffer Lerno
|
3242bcabc0
|
Do-while uses for codegen and somewhat smaller llvm codegen
|
2021-11-28 01:35:09 +01:00 |
|
Christoffer Lerno
|
29e7af843a
|
Remove old try-catch. Top down promotion for binary etc. Prevent non-simple widening. Introducing wildcard failable. Move LLVM GEP usage. Regcall test and fix. Optimized slice assign.
|
2021-10-26 18:40:41 +02:00 |
|
Christoffer Lerno
|
b4df56db54
|
Removed original_type, pure, removed bigint, added i128 type, lots of fixes to $Foo, reassigning ct type, catch/macro, "!", removed type inference.
|
2021-10-19 10:39:02 +02:00 |
|
Christoffer Lerno
|
bcda6d71c9
|
AST printout removed. Split initializer types. Const list functionality.
|
2021-09-10 15:47:23 +02:00 |
|
Christoffer Lerno
|
867924f706
|
MSVC compatibility
|
2021-08-31 21:16:27 +02:00 |
|
Christoffer Lerno
|
b4be829c71
|
Assert a try will unwrap. #271
|
2021-08-18 18:22:05 +02:00 |
|
Christoffer Lerno
|
f180a0d44a
|
Change anyerror { i64, i64 } -> i64. Cleaned up platform data and max tls / vector align. Initial work on bitstruct (just parsing). Updated try / catch semantics.
|
2021-08-18 17:31:09 +02:00 |
|
Christoffer Lerno
|
490dd65664
|
Add attributes to call site. @inline, @noinline to calls #250
|
2021-08-03 12:02:36 +02:00 |
|
Christoffer Lerno
|
1af27136fa
|
Improved error messages on incorrect module name. Issue #209
|
2021-07-17 15:20:13 +02:00 |
|
Christoffer Lerno
|
1d0c2ab2b0
|
Unifies function and macro argument parsing. Removed generic and attribute parsing. Prepare removal of yield.
|
2021-06-27 23:09:37 +02:00 |
|