Oloruntobi1
8aa3461bf6
[DOCS] updated readme with issue 1086 link
2024-08-05 19:55:04 +02:00
Christoffer Lerno
04c37a98b5
Formatting.
2024-08-05 19:53:39 +02:00
rexim
4850f1e94b
Ignore EINTR return from waitpid
...
Apparently it is a thing that can happen and for example musl just
ignores such situations and tries to wait again.
dd1e63c363/src/process/system.c (L39)
2024-08-05 19:53:05 +02:00
Christoffer Lerno
60945ffe58
Fix of tests.
2024-08-05 19:52:34 +02:00
Christoffer Lerno
746016996c
Variable in if-try / if-catch cannot be a reused variable name.
2024-08-05 18:43:04 +02:00
Christoffer Lerno
67a2734777
Issue where a if (catch e = ...) in a defer would be incorrectly copied. Causing codegen error.
2024-08-05 15:20:50 +02:00
Christoffer Lerno
b208fc7cf5
Add unreachable.
2024-08-04 23:40:28 +02:00
Christoffer Lerno
2748cf99b3
- Fix issue where a compile time parameter is followed by "...".
...
- Fix issue with some conversions to untyped list.
- Experimental change: add `+++` `&&&` `|||` as replacement for `$concat`, `$and` and `$or`.
2024-08-04 23:16:25 +02:00
Christoffer Lerno
b49b60ab5f
Fix compiler timings.
2024-08-04 11:21:23 +02:00
Christoffer Lerno
620c67b04e
Bug in List add_array when reserving memory.
2024-08-04 01:34:45 +02:00
Alexey Kutepov
a5b5f315d1
Implement passing arguments to program via compile-run ( #1296 )
2024-08-03 19:47:52 +02:00
Christoffer Lerno
43ea05aad2
Remove $expand.
2024-08-03 12:47:19 +02:00
Halen84
0ec1c80221
Fix typo in parse_global.c
...
In parse_def_ident()
2024-08-03 03:50:55 +02:00
Christoffer Lerno
d91c289bf6
Distinct inline can now be called if it is aliasing a function pointer.
2024-08-03 03:08:38 +02:00
Christoffer Lerno
74b9971494
Add wincrt setting to libraries.
2024-08-02 20:15:40 +02:00
Christoffer Lerno
f8f116109a
Use back-off strategy when allocating virtual memory.
2024-08-02 15:45:16 +02:00
Christoffer Lerno
8498cb6258
Add @const attribute for macros, for better error messages with constant macros #1293
2024-08-02 15:01:02 +02:00
Yhya Ibrahim
7a72f44f64
Add --run-once option to delete the output file after running it ( #1295 )
...
Add `run-once` option to delete the output file after running it
2024-08-02 12:47:36 +02:00
Christoffer Lerno
a90e3c440b
Distinct inline would not implement protocol if the inlined implemented it. This closes #1292
2024-08-02 11:37:38 +02:00
Christoffer Lerno
1aab8b87ec
Add experimental @noalias attribute.
2024-08-01 22:57:26 +02:00
Christoffer Lerno
ebf071ac51
Fix incorrect override of optimization levels when using projects.
2024-08-01 21:40:51 +02:00
Christoffer Lerno
3d0fc33441
&& doesn't work correctly with lambdas #1279 .
2024-08-01 21:16:23 +02:00
Christoffer Lerno
c50df85976
Fix docs to match the update in supporting LLVM 17+ only.
2024-08-01 20:04:54 +02:00
Christoffer Lerno
db9fc20acf
Wrapper RTTI now follows LLVM RTTI.
2024-08-01 19:58:52 +02:00
Christoffer Lerno
10058cf271
- Distinct func type would not accept direct function address assign. #1287
2024-08-01 16:26:50 +02:00
Christoffer Lerno
310dadef45
No type_lowering in the frontend.
2024-08-01 13:26:47 +02:00
Christoffer Lerno
3159f036a2
Update lowering for function pointers.
2024-08-01 11:37:40 +02:00
Christoffer Lerno
c3e426c82a
Assertion with duplicate function pointer signatures #1286
2024-08-01 01:52:26 +02:00
Christoffer Lerno
b83d388523
Incorrect justify formatting of integers.
2024-08-01 01:20:42 +02:00
Christoffer Lerno
d8820259d2
Enable LLVM 19
2024-08-01 00:21:14 +02:00
Christoffer Lerno
354d78e893
Temporarily disable LLVM for Linux
2024-08-01 00:12:01 +02:00
Christoffer Lerno
7f00f35f4b
$expand macro, to expand a string into code. opt project setting now properly documented.
2024-08-01 00:07:16 +02:00
Yhya Ibrahim
8c33b073c2
Fix a warning/error where C compilers can not predict that a variable is initialized
2024-07-31 18:05:26 +02:00
Christoffer Lerno
d6490c9bab
Make it possible to set max limit for memory pages.
2024-07-31 18:03:52 +02:00
PalsFreniers
b0e104bfd0
Adding Termios library as std::libc::termios (posix libc functions) ( #1272 )
...
Adding libc's termios to lib/std/libc
2024-07-31 14:45:04 +02:00
Chuck Benedict
563e677b08
Add Riscv Example ( #1268 )
...
Add Riscv example. Risc-V CI. Install baremetal toolchain. Prevent imported crt file from messing up linker search.
2024-07-31 14:43:47 +02:00
Ikko Eltociear Ashimine
7664d0568e
Update bytewriter.c3
...
minor fix
2024-07-31 01:37:12 +02:00
Christoffer Lerno
e1a13e433f
Experimental xtensa support
2024-07-31 01:36:28 +02:00
Dodzey
d212f7d946
Remove extra item
2024-07-30 17:52:14 +02:00
Christoffer Lerno
8d6dabf65c
Struct members declared in a single line declaration were not sharing attributes. #1266
2024-07-30 02:45:50 +02:00
Dmitry Atamanov
a4c5b85db8
Remove extra space.
2024-07-29 15:16:14 +02:00
Christoffer Lerno
e66001c182
Using winmain would call the wrong definition #1265 .
2024-07-29 15:04:32 +02:00
Christoffer Lerno
08c7b35731
Improve the error message when typing fn void Foo().
2024-07-28 21:08:47 +02:00
Christoffer Lerno
35cb36fcea
Fix incorrect linker selection.
2024-07-28 17:55:59 +02:00
Christoffer Lerno
bf8ca989d6
Add --show-backtrace option to disable backtrace for even smaller binary.
2024-07-28 01:10:59 +02:00
Christoffer Lerno
4976ebcef4
Permit foreach values to be optional. Update matching algorithm.
2024-07-27 21:53:44 +02:00
Christoffer Lerno
51661f5c55
c3c init-lib does not create the directory with the .c3l suffix #1253
2024-07-27 11:52:56 +02:00
Christoffer Lerno
3cbb10392c
Don't generate .o files on compile and compile-run if there is no main.
2024-07-27 05:00:27 +02:00
Christoffer Lerno
168ce752d1
Package Linux binaries in a folder called "c3" and not "linux"
2024-07-27 02:49:09 +02:00
Christoffer Lerno
8fcf9bc6bf
Give some symbol name suggestions when the path is matched.
2024-07-27 01:21:02 +02:00