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
Christoffer Lerno
56f43f55f3
Add WASM test.
2024-07-26 21:39:45 +02:00
Christoffer Lerno
9386ac026d
dbghelp.lib was linked even on nolibc on Windows.
2024-07-26 20:54:57 +02:00
Christoffer Lerno
e1565ccdc5
Regression: Invalid is_random implementation due to changes in 0.6.
2024-07-26 20:49:17 +02:00
Christoffer Lerno
34993a20fd
Fix broken WASM std library code.
2024-07-26 19:20:58 +02:00
Christoffer Lerno
ea0124433a
Remove "EXPR_GROUP" to simplify the code somewhat.
2024-07-26 14:34:08 +02:00
Christoffer Lerno
73b15c691d
Deprecate *-add settings, use without -add. Updated CI.
2024-07-26 03:23:30 +02:00
Christoffer Lerno
623dd9f3b3
Added "weak" type aliases def Foo = my_foo::Foo @weak;
2024-07-26 01:13:48 +02:00
Christoffer Lerno
379637f214
Scalar -> vector not implicit in call or assign.
2024-07-24 14:00:09 +02:00
Christian Buttner
26ca8f7777
Add type property is_substruct.
2024-07-24 14:00:09 +02:00
Christoffer Lerno
237f7e7f1a
Updated stats.
2024-07-24 14:00:09 +02:00
Christoffer Lerno
34fc9851bf
Update wrapper
2024-07-24 14:00:09 +02:00
Christoffer Lerno
abdaca08fe
Add new optimizer runner.
2024-07-24 14:00:09 +02:00
Christoffer Lerno
bdc9f339c9
The msvc_sdk script failed to work properly on windows when run in folders with spaces
v0.6.1
2024-07-24 13:18:26 +02:00
Christoffer Lerno
3188d4d858
Reference parameter doesn't work with vector subscript #1250 .
2024-07-23 21:20:40 +02:00
Christoffer Lerno
1bb76b1a49
Unsplat with named parameters was accidentally disallowed.
2024-07-22 11:44:34 +02:00
Christoffer Lerno
9584efd84c
Update AVX support.
2024-07-22 02:34:33 +02:00
Christoffer Lerno
c84bc8a8f3
Add convenience function.
2024-07-21 00:43:16 +02:00
Christian Buttner
edc55a2afd
Small fixes to stdlib. ( #1247 )
...
Small fixes to stdlib. Match the signature of `NativeConditionVariable.wait_timeout` and `NativeMutex.lock_timeout` of thread_win32.c3 to `ConditionVariable.wait_timeout` and `TimedMutex.lock_timeout` to avoid casting errors. Add `time::us`.
2024-07-20 19:19:16 +02:00
Christoffer Lerno
480325177c
Remove accidental debug code.
2024-07-20 18:40:25 +02:00
Christoffer Lerno
03cfa42eb6
Duplicate symbols with static variable declared in macro #1248 . Improved error message when trying user foreach with an untyped list.
2024-07-20 03:39:33 +02:00
Christoffer Lerno
b25c573ae3
Indexing into a constant array / struct now works at compile time. Constants defined by indexing into another constant could fail codegen. Stdlib nolibc code bugs fixed.
2024-07-20 01:20:03 +02:00
Christoffer Lerno
7f5757d66b
Add .dot to integer vectors.
2024-07-19 11:34:05 +02:00
Christoffer Lerno
a3a275c3d5
Updated linux build
2024-07-19 11:10:59 +02:00
Christoffer Lerno
557f007b12
Spelling
2024-07-19 10:38:52 +02:00
Christoffer Lerno
542406c16f
Exclude 18 for linux for now.
2024-07-19 01:13:49 +02:00
Christoffer Lerno
1fa870411f
Separate LLVM18 compile for Linux in CI
2024-07-19 00:36:04 +02:00
Christoffer Lerno
c096487eea
Test if this fixes LLVM 18 compilation.
2024-07-19 00:32:27 +02:00
Christoffer Lerno
97a8e0cdd4
Retain backwards compatibility with old manifest.json.
2024-07-19 00:23:54 +02:00
Christoffer Lerno
eb20a5c051
mainfest.json is now checked for incorrect keys. Added --list-manifest-properties to list the available properties in manifest.json.
2024-07-19 00:03:05 +02:00
Christoffer Lerno
5c6acf89da
Added docs to io.c3
2024-07-18 20:44:36 +02:00
Christoffer Lerno
9dfe7ddbde
Add wrapper methods, use LLVM-transforms directly.
2024-07-18 20:44:36 +02:00
Christian Buttner
8285720180
Add tests and improvements for @nopadding and @compact.
2024-07-17 17:00:36 +02:00
Christoffer Lerno
a4a1a42842
Update llvm build to use on windows.
2024-07-17 16:55:55 +02:00
Christoffer Lerno
3c3217ab2b
Fix PIE.
2024-07-16 14:58:48 +02:00
Alex Anderson
17ee3887dd
Use usz and fix out of bounds access in branchless loop
2024-07-16 13:22:11 +02:00
Alex Anderson
db75da65db
Make countingsort.c3's recursion stage branchless
...
Tracks the three potential cases for each fallback, item counts ranging from [2,32], [33,128], [128, ...] and uses a loop specifically for each fallback.
2024-07-15 22:25:59 +02:00
Christoffer Lerno
cf95257c81
Fix test (again).
2024-07-15 17:30:42 +02:00
Christoffer Lerno
b40036c203
Fix test.
2024-07-15 17:04:06 +02:00
Christian Buttner
b18661a8b0
Make stdlib mem::allocator more complete. ( #1238 )
...
Make stdlib mem::allocator more complete. Fill in some gaps and docstrings. List.to_new_array. Handle overalignment smoothly in list.
2024-07-15 16:35:40 +02:00
Christoffer Lerno
bc0d52142a
Added pull request #1189 : Fix os::native_is_{file,dir} bug. Add tests.
2024-07-15 03:02:54 +02:00