Christoffer Lerno
|
cdabe8fd9e
|
- Create optional with ~ instead of ?. return io::EOF?; becomes return io::EOF~.
- Deprecated use of `?` to create optional.
|
2026-01-20 16:10:28 +01: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
|
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
|
8bb99c6f81
|
Fixes to examples and MSVC compilation.
|
2025-03-03 00:32:20 +01:00 |
|
Christoffer Lerno
|
168c11e006
|
{| |} expression blocks deprecated.
|
2025-02-18 12:50:34 +01:00 |
|
Christoffer Lerno
|
214e806a33
|
Deprecate `fn void! main() type main functions.
|
2025-01-08 23:17:50 +01:00 |
|
Christoffer Lerno
|
120e21b80b
|
Convencience function for random + entropy function.
|
2023-10-31 22:21:38 +01:00 |
|
Christoffer Lerno
|
cd7a03c2cf
|
Interface based streams. Fix for initializing with a force unwrap inside. Allow $define to take a list. Allow $define to return error on argument type mismatch in call. Fixed broken bit operations on boolean vectors.
|
2023-10-31 01:06:59 +01:00 |
|
Christoffer Lerno
|
d67e846712
|
Remove cast from void! to anyfault. Rename @catchof to @catch
|
2023-09-09 22:49:32 +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
|
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
|
1480b8f872
|
Update examples and contracts.
|
2023-03-08 15:57:42 +01:00 |
|
Christoffer Lerno
|
43dc2d650c
|
Use "String" consistently for "char[]" (#694)
Use "String" consistently for "char[]". Fix win32 return value.
|
2023-01-07 22:50:33 +01:00 |
|
Christoffer Lerno
|
da1a45f718
|
Remove iptrdiff and uptrdiff. Bump version to 0.3.100
|
2022-11-17 23:44:54 +01:00 |
|
Christoffer Lerno
|
6d2ab0c985
|
Fix ordering of @builtin. malloc <-> alloc, malloc, calloc, realloc, free builtins.
|
2022-08-04 01:49:36 +02:00 |
|
Christoffer Lerno
|
a7e4dda360
|
Added examples.
|
2022-07-26 02:10:18 +02:00 |
|