Christoffer Lerno
|
cc87c77af3
|
Add deprecation notice on use of "private"
|
2023-03-19 23:50:00 +01:00 |
|
Christoffer Lerno
|
24147a85f7
|
Allow unary plus.
|
2023-03-19 22:46:28 +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
|
9fa634b78b
|
is_finite / is_nan / is_inf, frexp native.
|
2023-03-18 21:17:18 +01:00 |
|
Christoffer Lerno
|
48a35b3277
|
Signbit, tests of frexp.
|
2023-03-18 19:13:17 +01:00 |
|
Christoffer Lerno
|
a041c53cdd
|
Add frexp.
|
2023-03-18 16:54:39 +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 |
|
Ox512
|
1b667cbc93
|
Update the default project template (#750)
|
2023-03-15 19:40:49 +01:00 |
|
Christoffer Lerno
|
7075f834dd
|
Remove null-casts for anyerr.
|
2023-03-15 16:28:48 +01:00 |
|
Christoffer Lerno
|
e2b9a35dfe
|
Add tentative ".ordinal" on faults. Allow anyerr and fault to be initialized with null.
|
2023-03-15 14:32:00 +01:00 |
|
Christoffer Lerno
|
3cb94a2857
|
Temporarily disable LLVM 17. Generic module contracts enabled.
|
2023-03-14 23:25:52 +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
|
39dd3e40a6
|
Remove attribute list from test.
|
2023-03-08 16:23:12 +01:00 |
|
Christoffer Lerno
|
1480b8f872
|
Update examples and contracts.
|
2023-03-08 15:57:42 +01:00 |
|
Christoffer Lerno
|
b94c647ead
|
Distinct String
|
2023-03-08 14:32:07 +01:00 |
|
Christoffer Lerno
|
9b81623680
|
Make string literals default to char[]
|
2023-03-08 11:24:11 +01:00 |
|
Christoffer Lerno
|
cfba19ab77
|
Remove deprecated to avoid warnings for VarString. Fix issue casting subarrays to distinct types.
|
2023-03-08 00:13:48 +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
|
33cc2d889b
|
More const modification detection. Grab the version number into CMake.
|
2023-03-07 14:35:12 +01:00 |
|
Christoffer Lerno
|
ab1c025c05
|
Fix issue for wasm
|
2023-03-07 10:12:03 +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
|
a4231823df
|
Add DString init.
|
2023-03-05 23:28:04 +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
|
6ac99ed83c
|
Improve debug info.
|
2023-03-05 20:50:04 +01:00 |
|
Tonis
|
ff4c35fae1
|
Added Matrix identity macros and few matrix unit tests (#742)
* Add matrix identity macros
* Add matrix some matrix unit tests
---------
Co-authored-by: Tonis <tanton@paysure.solutions>
|
2023-03-05 20:39:55 +01:00 |
|
Dmitry Atamanov
|
549e1b6029
|
Added std::collections::enummap.
|
2023-03-04 22:41:22 +01:00 |
|
Christoffer Lerno
|
1035de3b36
|
Remove all locations when enums are implicitly lowered to integers. Remove the menagerie of flattening functions. Incidentally this also fixes a bunch of not-yet tested errors with distinct types.
|
2023-03-04 22:14:29 +01:00 |
|
Christoffer Lerno
|
306677300a
|
Fix of enum alignment / size when based in distinct types.
|
2023-03-04 01:35:23 +01:00 |
|
Christoffer Lerno
|
f9923de7f9
|
Remove implicit cast from enum to int. Allow enums to use distinct types as the backing type. enum += 1 returns enum type.
|
2023-03-04 01:03:57 +01:00 |
|
Christoffer Lerno
|
488472ecbb
|
Improve enum add/sub.
|
2023-03-03 17:43:13 +01:00 |
|
Christoffer Lerno
|
ea3b32f68b
|
Further casting cleanup.
|
2023-03-03 14:43:32 +01:00 |
|
Christoffer Lerno
|
a2911292d8
|
Simplify narrowing semantics.
|
2023-03-02 22:04:15 +01:00 |
|
Christoffer Lerno
|
3449d2ea88
|
Remove all array pointer decay.
|
2023-03-02 19:47:24 +01:00 |
|
Christoffer Lerno
|
3372f36e9d
|
Fix subarray casts to distinct types and constants.
|
2023-03-02 13:14:11 +01:00 |
|
Christoffer Lerno
|
07e4aab48b
|
Fix of bool -> float vector cast. Correctly widen C style varargs for distinct types and optionals.
|
2023-03-02 11:35:05 +01:00 |
|
Christoffer Lerno
|
0dcad6f5cf
|
Improve and simplify casts.
|
2023-03-01 22:43:50 +01:00 |
|
Christoffer Lerno
|
0314f9534f
|
Improve enum checks on enum conversions.
|
2023-03-01 13:56:36 +01:00 |
|
Christoffer Lerno
|
f8208f946b
|
Remove "generic" code paths.
|
2023-03-01 12:01:43 +01:00 |
|
Christoffer Lerno
|
b9dbefbe1b
|
Fix bug when initializing nested struct / unions. Fix of mult of 2x2 matrix. Cleanup of cast.
|
2023-02-28 20:43:43 +01:00 |
|
Christoffer Lerno
|
6188a8b5df
|
Fix bad code in assert
|
2023-02-28 17:50:01 +01:00 |
|
Christoffer Lerno
|
9db845903e
|
Cleanup and allow complex array length inference, e.g. "int[*][2][*] a = ..."
|
2023-02-28 17:37:17 +01:00 |
|