Christoffer Lerno
|
3e54d13b62
|
Prefer def
|
2023-06-02 20:08:45 +02:00 |
|
Christoffer Lerno
|
275e3c6a09
|
Update with CPU type.
|
2023-05-30 16:42:15 +02:00 |
|
Christoffer Lerno
|
9de02efa01
|
Exclude main methods from dllexport.
|
2023-05-28 15:59:15 +02:00 |
|
Christoffer Lerno
|
07b107ff5e
|
Better handling of attribute definition errors. Resolves #753
|
2023-05-26 11:31:27 +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 |
|
Tonis
|
a877d4458c
|
Improve Matrix identity functions and add Quaternion to matrix function (#765)
* Edit matrix identity fn and add quaternion to matrix fn
* Change matrix identity macros to constants
---------
Co-authored-by: Tonis <tanton@paysure.solutions>
|
2023-05-16 11:50:01 +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
|
3dd6675e1b
|
Fixed const vector codegen. Missing math comparisons.
|
2023-05-06 02:29:26 +02:00 |
|
Christoffer Lerno
|
6fc38bbcb9
|
Accidental change.
|
2023-04-28 23:36:45 +02:00 |
|
Christoffer Lerno
|
184cc19d36
|
Further grammar fixes.
|
2023-04-28 19:11:57 +02:00 |
|
Christoffer Lerno
|
e8642d6797
|
Fixes to access grammar. "delete" => "remove"
|
2023-04-24 09:10:35 +02:00 |
|
Christoffer Lerno
|
2a79e0f1cf
|
Introduce def as a trial. Fixup of timeit.
|
2023-04-21 17:42:38 +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
|
ad7ee06635
|
Grammar updates. Updated enum member parsing.
|
2023-03-22 21:46:47 +01:00 |
|
Christoffer Lerno
|
0f80d985fa
|
Fix sema errors on flexible array slices.
|
2023-03-22 12:56:15 +01: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
|
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
|
48a35b3277
|
Signbit, tests of frexp.
|
2023-03-18 19:13:17 +01:00 |
|
Christoffer Lerno
|
8b0df0ee11
|
try? / catch?
|
2023-03-17 22:49:48 +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
|
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
|
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
|
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
|
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
|
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 |
|