Christoffer Lerno
|
ab93389031
|
- Updated posix/win32 stdlib namespacing
- Process stdlib
- Fix to void expression blocks
|
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
|
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
|
4d0f73a8f5
|
Consistent naming in allocators. Fix where cast from char array -> bitstruct would not work.
|
2023-05-10 10:30:37 +02:00 |
|
Christoffer Lerno
|
172d561f07
|
Change syntax of $if, $assert, $include, $echo. Introduces $error
|
2023-05-06 12:18:00 +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
|
d14e778232
|
Use different readdir on macOS depending on arch.
|
2023-04-10 09:54:02 +02:00 |
|
Christoffer Lerno
|
316af36723
|
Add dstringwriter.
|
2023-03-22 12:23:47 +01:00 |
|
Christoffer Lerno
|
9850adfa56
|
Rename OUT_OF_DISK => OUT_OF_SPACE. Allow byte writer to take a buffer.
|
2023-03-22 11:52:45 +01:00 |
|
Christoffer Lerno
|
93fa135d28
|
Deprecation of define Type = ...
|
2023-03-20 22:56:06 +01: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
|
954521228e
|
Make casts explicit when casting to pointer offset. Better localization of error when narrowing fails. New printf formatting based on musl plus %a output.
|
2023-03-19 21:15:44 +01:00 |
|
Christoffer Lerno
|
9f068ce84d
|
Shorter code.
|
2023-03-18 14:44:35 +01:00 |
|
Christoffer Lerno
|
8b0df0ee11
|
try? / catch?
|
2023-03-17 22:49:48 +01:00 |
|
Christoffer Lerno
|
3237f87a09
|
Added some Win32 declarations.
|
2023-03-14 11:37:23 +01:00 |
|
Christoffer Lerno
|
1b27264f07
|
Allow type inference on enum comparisons. Add chdir. Fix bug when command was missing. Allow {} on basic types.
|
2023-03-13 16:25:03 +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
|
4ffeada3c7
|
Updated stdlib. Prefer file::open. Fix to slice assign with distinct types.
|
2023-03-12 00:33:16 +01:00 |
|
Christoffer Lerno
|
2607062cb6
|
Updated Path. Some work towards loading dirs.
|
2023-03-11 18:32:44 +01:00 |
|
Christoffer Lerno
|
7a2d73c690
|
mproved Path code.
|
2023-03-10 18:46:21 +01:00 |
|
Christoffer Lerno
|
d2a16961cf
|
More refactorings in the stdlib. More Path functions. Updated Win32 format for types. Fix bug with codegen of defer if ... More string functions.
|
2023-03-09 20:44:27 +01:00 |
|
Christoffer Lerno
|
b94c647ead
|
Distinct String
|
2023-03-08 14:32:07 +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
|
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 |
|
Christoffer Lerno
|
a2911292d8
|
Simplify narrowing semantics.
|
2023-03-02 22:04:15 +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
|
f86aa136cb
|
Updated fopen. ZString.len does not output number of Char32. Add example.
|
2023-02-23 10:42:36 +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
|
ea163636d3
|
Add defaults to compare_exchange, small fix in printf. Disallow obviously wrong code that returns the pointer to a variable on the stack.
|
2023-02-18 12:21:15 +01:00 |
|
Christoffer Lerno
|
818396b6f3
|
Updated module visibility import visibility. Fixes to @local
|
2023-02-15 09:47:51 +01:00 |
|
Christoffer Lerno
|
8b099293a3
|
Fix no-entry. Make printf more strict and also fix distinct printing.
|
2023-02-14 20:39:15 +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
|
1548cd06ef
|
Enable local multi-declarations. Fix of builtin argument checking. Migrate to @noinit.
|
2023-02-11 02:03:02 +01:00 |
|
Christoffer Lerno
|
74d868d113
|
Fix of bug in !floatval codegen. Added float parsing.
|
2023-02-10 22:17:55 +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 |
|
Christoffer Lerno
|
dce171670f
|
Use printn rather than println. Add string methods for copying.
|
2023-02-04 19:48:42 +01:00 |
|
Christoffer Lerno
|
6407eb47a4
|
Remove of @extname in stdlib.
|
2023-02-02 21:53:37 +01:00 |
|
Christoffer Lerno
|
3046a9f0c2
|
Fix File.printf
|
2023-01-29 17:58:17 +01:00 |
|
Christoffer Lerno
|
2fb85e5e95
|
Fix of variant type.
|
2023-01-29 13:58:57 +01:00 |
|
Christoffer Lerno
|
1095f098ef
|
Reduce formatter register formatter register type memory usage.
|
2023-01-28 01:23:15 +01:00 |
|
Christoffer Lerno
|
a22ebbb0ef
|
Improved support for freestanding.
|
2023-01-25 11:10:37 +01:00 |
|
Christoffer Lerno
|
dc16f65c8e
|
Change printfln to printfn. Make LLVM 15 tests default.
|
2023-01-11 18:00:08 +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
|
f622b3bd4c
|
Cleanup of naming change to optional. Fix of builtin optional handling.
|
2022-12-27 23:55:23 +01:00 |
|