Christoffer Lerno
|
50784d4df6
|
Updated to use the new implicit type for method calls in some libraries. Made the grammar a little more liberal.
|
2023-07-02 10:55:25 +02:00 |
|
Christoffer Lerno
|
21d8a8b6da
|
Fix #809 missing checks on generic types, accepting both types where constants should be and vice versa.
|
2023-07-01 23:58:00 +02:00 |
|
Christoffer Lerno
|
70ea6ce04b
|
Fix #806, and also makes sure that things like FOO.x.a is a compile time value.
|
2023-07-01 16:29:17 +02:00 |
|
Christoffer Lerno
|
685be0981f
|
Fix priorityqueue.
|
2023-06-26 17:43:03 +02:00 |
|
Christoffer Lerno
|
fc054dad81
|
Added some to_string.
|
2023-06-26 16:21:07 +02:00 |
|
Christoffer Lerno
|
83f8bbb91b
|
Update range to have exclusive and inclusive range.
|
2023-06-26 10:18:09 +02:00 |
|
Christoffer Lerno
|
8c73a450a1
|
Reduce memory consumtion. Add "range"
|
2023-06-25 21:39:53 +02:00 |
|
Christoffer Lerno
|
4c1edfb941
|
Dev (#777)
* The new @if directive.
|
2023-06-10 23:16:28 +02:00 |
|
Christoffer Lerno
|
8eaad81800
|
Dead strip by default. Add list to_string. Fix missing check for dynamic calls.
|
2023-06-05 14:54:17 +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
|
021bcdcf21
|
Add "is_initialized" to check if a map has been initialized.
|
2023-05-10 13:12:31 +02:00 |
|
Christoffer Lerno
|
172d561f07
|
Change syntax of $if, $assert, $include, $echo. Introduces $error
|
2023-05-06 12:18:00 +02:00 |
|
Christoffer Lerno
|
3dd6675e1b
|
Fixed const vector codegen. Missing math comparisons.
|
2023-05-06 02:29:26 +02:00 |
|
Christoffer Lerno
|
e8642d6797
|
Fixes to access grammar. "delete" => "remove"
|
2023-04-24 09:10:35 +02:00 |
|
Christoffer Lerno
|
8059dc1539
|
delete_if, retain_if, rindex_of, compact, compact_count added to List.
|
2023-04-21 14:45:25 +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
|
9c145996b0
|
$elif deprecated.
|
2023-03-20 16:54:45 +01:00 |
|
Christoffer Lerno
|
5ee0d52ff1
|
Deprecate :; in $if etc.
|
2023-03-20 01:03:54 +01:00 |
|
Christoffer Lerno
|
8b0df0ee11
|
try? / catch?
|
2023-03-17 22:49:48 +01:00 |
|
Christoffer Lerno
|
3cb94a2857
|
Temporarily disable LLVM 17. Generic module contracts enabled.
|
2023-03-14 23:25:52 +01:00 |
|
Christoffer Lerno
|
fb761b0cc5
|
Added OnStack allocator. Added dirname, basename and extension to path functions.
|
2023-03-13 11:51:27 +01:00 |
|
Christoffer Lerno
|
89de0a70d2
|
"@ensure" now correctly only runs on non-optional results. Subtypes now merge to a single type. Beginning deprecation of "std::core::str". Refreshed String functions. Consistent use of ".using" parameter. Functions moved to string methods. Tests on more string methods. Fixes to split, rindex_of.
|
2023-03-08 00:13:48 +01:00 |
|
Christoffer Lerno
|
7008dab113
|
Add primitive and incomplete object printout. First version of json parser.
|
2023-03-07 09:53:01 +01:00 |
|
Christoffer Lerno
|
300f4d38ab
|
Addition of object type. Fixes to const union initialization.
|
2023-03-06 23:58:13 +01:00 |
|
Christoffer Lerno
|
9eee250b10
|
Add DString init.
|
2023-03-06 09:12:52 +01:00 |
|
Christoffer Lerno
|
d1626ada6f
|
List no longer uses a temp allocator by default. Incorrect check in the temp allocator removed. Added DString.
|
2023-03-05 23:14:16 +01:00 |
|
Dmitry Atamanov
|
549e1b6029
|
Added std::collections::enummap.
|
2023-03-04 22:41:22 +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
|
feaf8b3b2c
|
Update HashMap functionality. Fix check when appending to VarString. Fix issue with decls accidentally invalidated during $checked eval. Fold optional when casting slice to pointer.
|
2023-02-27 00:10:01 +01:00 |
|
Christoffer Lerno
|
b175b9318a
|
Fix conversion if (int x = foo()). Initial stream api. Extended enumset.
|
2023-02-22 17:06:06 +01:00 |
|
Christoffer Lerno
|
df77b692d6
|
Support "typedef"
|
2023-02-14 16:49:27 +01:00 |
|
Christoffer Lerno
|
5e457be605
|
Implement more @export / @private improvements. Make @private default… (#729)
|
2023-02-13 08:31:40 +01:00 |
|
Christoffer Lerno
|
86e085e0c0
|
Move collection types. Improve linked list interface. Update map.destroy => map.free
|
2023-02-05 20:55:47 +01:00 |
|