Kenta
61cc8163f9
Update docker script and dockerfile
...
Using Ubuntu 23 throws an error "groupadd: GID '1000' already exists" when trying to build. Ubuntu 22 works fine.
There should be no difference between building C3 on Ubuntu 22 vs 23.
To avoid issues raised it's best to move to single Ubuntu version that builds the compiler.
2023-01-30 21:47:37 +01:00
Christoffer Lerno
adf84e38d0
Update LLVM versions.
2023-01-30 13:54:28 +01:00
Christoffer Lerno
ae4658933a
Add missing version bump.
2023-01-30 12:39:46 +01:00
Christoffer Lerno
539d733ceb
Remove LLVM 14 support. Simplify ABI lowering.
2023-01-30 12:39:04 +01:00
Christoffer Lerno
124a18a486
Fix bug with enum associated values.
2023-01-29 19:15:13 +01:00
Christoffer Lerno
3046a9f0c2
Fix File.printf
2023-01-29 17:58:17 +01:00
Christoffer Lerno
a77e0bf7b3
Add LLVM 17 to CI.
2023-01-29 14:44:03 +01:00
Christoffer Lerno
84582f86b6
Cleanup.
2023-01-29 14:20:58 +01:00
Christoffer Lerno
3f5fb5da92
Fix of variant type.
2023-01-29 13:59:07 +01:00
Christoffer Lerno
2fb85e5e95
Fix of variant type.
2023-01-29 13:58:57 +01:00
Christoffer Lerno
e604d40fd3
Added $$FILEPATH
2023-01-29 13:26:34 +01:00
Christoffer Lerno
77608e137e
Updated winmain handling
2023-01-29 13:18:43 +01:00
Christoffer Lerno
52d7e58c19
Make Windows use wWinMain always. Support /SUBSYSTEM:WINDOWS
2023-01-29 01:32:35 +01:00
Christoffer Lerno
5ea15eb708
Make Windows use wWinMain always. Support /SUBSYSTEM:WINDOWS
2023-01-29 01:32:35 +01:00
Christoffer Lerno
f89bf9ea2f
Update clamp.
2023-01-28 03:52:07 +01:00
Christoffer Lerno
4ddb9d9fbc
Fix tests.
2023-01-28 03:52:07 +01:00
Christoffer Lerno
1095f098ef
Reduce formatter register formatter register type memory usage.
2023-01-28 01:23:15 +01:00
Christoffer Lerno
9f63f77f22
Update precedence clarification rules for ^|&
2023-01-28 00:54:01 +01:00
Christoffer Lerno
9a08c9d821
Fixes to wasm and function attributes.
2023-01-28 00:37:46 +01:00
Christoffer Lerno
445239b418
Add simple heap allocator and update lambda and #lazy checking.
2023-01-27 14:40:54 +01:00
Christoffer Lerno
03b659373a
Make the quine use "String" rather than char[]
2023-01-26 21:19:16 +01:00
Christoffer Lerno
4561bf5a85
Add quine example.
2023-01-26 21:17:08 +01:00
Christoffer Lerno
6eb65d5b37
Add memory-env option.
2023-01-26 21:16:47 +01:00
Christoffer Lerno
6a73c8e90e
Clean lib before copy.
2023-01-26 16:28:47 +01:00
Christoffer Lerno
5c7d859fdb
Some updates to builtin checking.
2023-01-26 16:24:18 +01:00
Christoffer Lerno
a95710c93f
Add no-entry to project/command line. Add "link-args" to project. Add @wasm and @extern attributes. Added $$wasm_memory_size and $$wasm_memory_grow builtins.
2023-01-26 12:02:09 +01:00
Christoffer Lerno
39801a304d
Improved support for freestanding.
2023-01-25 11:27:57 +01:00
Christoffer Lerno
a22ebbb0ef
Improved support for freestanding.
2023-01-25 11:10:37 +01:00
Christoffer Lerno
f37f779e5a
Fix in utf8to16 conversion.
2023-01-24 14:20:37 +01:00
Christoffer Lerno
b508a43f8f
Add lambdas.
2023-01-24 10:15:23 +01:00
Christoffer Lerno
c9e1e2d763
Replace $$shufflevector with $$swizzle and $$swizzle2. Add builtin swizzle accessors.
2023-01-22 01:12:55 +01:00
Christoffer Lerno
1e18e576c7
Fix int[] -> void* casts.
2023-01-21 20:17:48 +01:00
Christoffer Lerno
5151586450
Updated complex / matrix. Added quaternion math, vectors. Possible to add and mult scalar with vector. Fix where negating a float vector would be lowered incorrectly. Fix where $typeof(x) { ... } would not be valid compound literal. Fix where var would not be recognized as starting a declaration (e.g. in if (var x = ...)
2023-01-21 00:59:33 +01:00
Christoffer Lerno
e09628b664
Added easings. Move of math to own folder.
2023-01-19 22:49:30 +01:00
Christoffer Lerno
92507ee388
More work on TB
2023-01-19 20:32:19 +01:00
Christoffer Lerno
1ab304dc64
Fix of overalignment on deref.
2023-01-19 12:29:17 +01:00
Christoffer Lerno
e284d49dd9
Initial add of tilde backend.
2023-01-19 00:08:31 +01:00
Christoffer Lerno
6da6288ad8
Support roundevenf/roundeven
2023-01-14 15:24:49 +01:00
Dmitry Atamanov
925e4e6e46
Added native option to --x86vec help.
2023-01-14 15:09:22 +01:00
Christoffer Lerno
bd12ef0a53
Add version bump.
2023-01-13 01:10:02 +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
Dmitry Atamanov
50b0958fb6
Add Loong arch deps for LLD >= 16
2023-01-12 18:43:05 +01:00
Christoffer Lerno
026861051a
Make LLVM 15 compile in CI again. ( #699 )
...
* Fixes to LLVM 15 CI
2023-01-12 18:41:51 +01:00
Christoffer Lerno
dc16f65c8e
Change printfln to printfn. Make LLVM 15 tests default.
2023-01-11 18:00:08 +01:00
Christoffer Lerno
3298ff2e15
Fix of typo.
2023-01-11 00:53:57 +01:00
Christoffer Lerno
aded1cb736
Use 15.0.6 on windows. Exclude 14 on linux. Update docker build.
2023-01-11 00:52:43 +01:00
Christoffer Lerno
da65de2d01
Add compare_exchange. Rudimentary threads (subject to change)
2023-01-10 20:46:39 +01:00
Christoffer Lerno
c9e40cfa37
Cast cleanup, removing structural casts.
2023-01-09 00:08:29 +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
5b2b4e900f
Add download links.
2023-01-07 15:12:05 +01:00