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
|
f86aa136cb
|
Updated fopen. ZString.len does not output number of Char32. Add example.
|
2023-02-23 10:42:36 +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
|
505543e9b4
|
Remove import of std::array
|
2023-02-05 20:59:42 +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
|
5ea15eb708
|
Make Windows use wWinMain always. Support /SUBSYSTEM:WINDOWS
|
2023-01-29 01:32:35 +01:00 |
|
Christoffer Lerno
|
39801a304d
|
Improved support for freestanding.
|
2023-01-25 11:27:57 +01:00 |
|
Christoffer Lerno
|
2123e81e8e
|
Make more of the builtins do promotion from int to double for convenience.
|
2023-01-13 01:09:27 +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
|
4a99190f96
|
C3L zip support. Version bump.
|
2023-01-03 22:40:35 +01:00 |
|
Christoffer Lerno
|
23a78a9ae5
|
Updated nbodies. Fixed sum/product on floats.
|
2022-12-30 02:41:17 +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
|
db06f99445
|
"[]=" now works as overload. Improved eval resolution. Added $$FUNCPTR
|
2022-10-05 22:58:28 +02:00 |
|
Christoffer Lerno
|
ad18d9ba48
|
Add .hash to integer types. Fixup of make and tmake. Updated map.c3 to become a working example. Fix bug in subarray -> pointer conversion. Search extension methods in std::core. Fix slice <-> slice copy.
|
2022-09-21 17:26:36 +02:00 |
|
Christoffer Lerno
|
35549c21bc
|
A brainf**k example.
|
2022-09-18 01:20:17 +02:00 |
|
Christoffer Lerno
|
a0a2e27127
|
$vasplat() implemented. $vacount removed (). Improved dynscope implementation. Version bump to 0.3.37.
|
2022-09-09 12:19:47 +02:00 |
|
Christoffer Lerno
|
dabe5769dd
|
More programs for test.
|
2022-08-28 20:35:25 +02:00 |
|
Christoffer Lerno
|
878bbed929
|
Fix bug using $switch. Added mem::equals. Fix to dynamic arena allocator.
|
2022-08-05 19:00:32 +02:00 |
|
Christoffer Lerno
|
00b880e35e
|
Nicer plus_minus
|
2022-08-05 01:01:28 +02:00 |
|
Christoffer Lerno
|
398e19d727
|
Corrected default alignment on temp alloc. Added str_index_of. Added simple getline. Added a simple calculator. Allow [1..] to create a zero length slice. Added some initial macro contracts. Fix accessing enum functions. Support for @checked. Bump to 0.3.4
|
2022-08-05 00:42:52 +02: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
|
550bca79e9
|
Updated memory allocator. Fix in printf printing pointers. Added aligned_alloc to libc module. Renamed MemoryArena -> ArenaAllocator. New temp allocator. @pool(), @scoped, @tscoped macros. Bump to 0.3.2.
|
2022-08-02 14:42:46 +02:00 |
|
Christoffer Lerno
|
9886d381c0
|
Update allocator and resolution.
|
2022-07-30 02:55:32 +02:00 |
|
Christoffer Lerno
|
e36e4b60e4
|
Fprintf changes.
|
2022-07-26 16:12:22 +02:00 |
|
Christoffer Lerno
|
7065c28a08
|
Some fixes to string. Added fprintf and String.printf. Updated boolerr example.
|
2022-07-26 13:44:08 +02:00 |
|
Christoffer Lerno
|
da4df9d626
|
Less libc in example.
|
2022-07-26 02:21:49 +02:00 |
|
Christoffer Lerno
|
a7e4dda360
|
Added examples.
|
2022-07-26 02:10:18 +02:00 |
|
Christoffer Lerno
|
4471ccff13
|
String works with printf. Example cleanup.
|
2022-07-26 01:15:36 +02:00 |
|
Christoffer Lerno
|
bb28f6e61c
|
Fix stack setting after error return. Some fixes to examples.
|
2022-07-02 10:54:40 +02:00 |
|
Christoffer Lerno
|
224390ce5a
|
Make builtins loaded by default.
|
2022-06-04 01:41:23 +02:00 |
|
Christoffer Lerno
|
9691d50a6f
|
@ is now part of the name of an attribute or a macro. Macros without '@' must be function-like.
|
2022-05-08 22:16:33 +02:00 |
|
Christoffer Lerno
|
22ee082d00
|
0.2.1 SysV ABI fix for passing certain things by struct. Fix implicitly converting to float in the case of myfloat *= -1. Prefer inferred constant over global. Allow locals to shadow global variables.
|
2022-04-27 16:43:25 +02:00 |
|
Christoffer Lerno
|
b99db4be24
|
Allocators. Rename of "optenum" to fault. Memcpy and memset added. Cleanup of declaration use.
|
2022-04-09 20:07:59 +02:00 |
|
Christoffer Lerno
|
8743223dd6
|
Allocators. Rename of "optenum" to fault. Memcpy and memset added. Cleanup of declaration use.
|
2022-04-09 20:07:59 +02:00 |
|
Christoffer Lerno
|
322d714305
|
Dev (#404)
Remove 'errtype' name and reduce Expr / TypeInfo memory footprint.
|
2022-03-08 23:38:27 +01:00 |
|
Christoffer Lerno
|
2802b2b96d
|
Ensure, $eval and $evaltype, @unreachable() replaces $unreachable. <Type>.sizeof
|
2022-03-04 15:49:17 +01:00 |
|
Christoffer Lerno
|
6b4e4f6114
|
Update formatting to consistently use tabs.
|
2022-02-18 12:56:17 +01:00 |
|
Christoffer Lerno
|
06917f2e65
|
Added "guess a number". Fix CT enum / int comparison. Fix some array pointer decay scenarios. Infer type of expression blocks. Correctly merge anyerr.
|
2022-02-01 22:46:32 +01:00 |
|
Christoffer Lerno
|
cf56825d26
|
Fixed bug when using indexing on a generic type. Made array::list::List work with [] and foreach.
|
2022-01-26 21:27:13 +01:00 |
|
Christoffer Lerno
|
e5bcb74822
|
Added levenshtein.c3 to working files. Fixes to reverse indexing. Added min/max functions. Tentatively removed "opaque"
|
2022-01-26 17:40:01 +01:00 |
|
Christoffer Lerno
|
bc2d789c2e
|
Filter \r before lexing.
|
2021-12-03 16:43:37 +01:00 |
|
Christoffer Lerno
|
974cd0acc5
|
Rollback global.
|
2021-11-17 10:37:23 +01:00 |
|
Christoffer Lerno
|
b52b42d4da
|
Complete transition to fn. Introduce global/threadlocal
|
2021-11-16 17:46:44 +01:00 |
|
Christoffer Lerno
|
0a4f35154a
|
Addeded some hash functions. Fix of visibility resolution for macros. std lib is now loaded from a directory.
|
2021-09-22 10:27:10 +02:00 |
|
Christoffer Lerno
|
b87b67ebbb
|
Factorial macro example.
|
2021-09-11 02:34:09 +02:00 |
|
Christoffer Lerno
|
17dcb742c6
|
Fixed codegen for subarray global initializers. Adding fasta example.
|
2021-09-11 00:44:35 +02:00 |
|
Christoffer Lerno
|
b7e423adc2
|
Update .len for subarray to not require ()
|
2021-09-10 19:44:27 +02:00 |
|
Christoffer Lerno
|
0aef2810c8
|
Added fasta example.
|
2021-09-10 19:27:42 +02:00 |
|