Chandler
b9f7711f21
Update Arch Linux install instructions
...
c3c was recently added to the official Arch 'extra' repo. Updated the README to reflect this.
2024-09-20 00:40:58 +02:00
Christoffer Lerno
9447913de6
Use arena with JSON parser. Slightly altered output for json printing.
2024-09-20 00:39:10 +02:00
Brian Sinquin
8a9834cac0
Vendor-fetch download to lib directory specified in project.json ( #1422 ) ( #1441 )
...
Vendor-fetch download default destination set to dependency-search-path in project.json Add fetched libraries in the project configuration file dependency entry.
2024-09-19 23:44:05 +02:00
Christoffer Lerno
2fec1c83a4
Enum attributes would be overwritten by enum value attributes.
2024-09-19 23:02:06 +02:00
Christoffer Lerno
ff36380ddf
Allow user-defined attributes to have typed parameters. Folding a constant array of structs at compile time would cause an assert.
2024-09-19 22:21:29 +02:00
Christoffer Lerno
f2cfa61a39
User defined attributes could not have more than 1 parameter due to bug.
2024-09-19 21:14:08 +02:00
Christoffer Lerno
41156cc45d
Temp allocator overwrites data when doing reset on extra allocated pages. #1462
2024-09-19 20:50:14 +02:00
Christoffer Lerno
9f51bfcc10
Support casting bitstructs to bool.
2024-09-19 01:03:06 +02:00
Christoffer Lerno
9426e813be
Add test.
2024-09-18 23:16:07 +02:00
Christoffer Lerno
20fd7aba9b
Regression when passing types as #expr arguments. #1461
2024-09-18 22:16:26 +02:00
Christoffer Lerno
3bada4560e
Correctly print interfaces.
2024-09-18 14:53:55 +02:00
Christoffer Lerno
9719abe99a
Better slice error message, and enable slice on non-vaarg.
2024-09-18 10:55:18 +02:00
Christoffer Lerno
5540519e52
Cleanup.
2024-09-18 10:20:57 +02:00
Christoffer Lerno
0b94e73c0b
Regression fix arguments needed when presenting error on a method.
2024-09-18 10:07:39 +02:00
Christoffer Lerno
5e2a06bfd6
Update shell argument escape.
2024-09-18 00:48:39 +02:00
Christoffer Lerno
ac95e411bc
Make str_eq safe to use with NULL.
2024-09-17 23:48:36 +02:00
Christoffer Lerno
08219fc57e
Fix reordering semantics in struct assignment.
2024-09-17 22:41:49 +02:00
Josh Ring
09643f3c8b
fix install instructions on ubuntu's latest LTS ( #1449 )
...
* fix install instructions on ubuntu's latest LTS
* cleanup arch linux and fixed some typos
2024-09-17 01:38:50 +02:00
Christoffer Lerno
08a575fa82
Crash invoking a @body argument with the wrong number of parameters.
2024-09-17 00:33:38 +02:00
Christoffer Lerno
62887a6ce8
Temporarily disable building with LLVM 19 and 20
2024-09-17 00:28:53 +02:00
Christoffer Lerno
297a6c9348
Support C3C_LIB and C3C_CC environment variables. Enable compiling against 20 to see if it works.
2024-09-17 00:12:50 +02:00
Christoffer Lerno
1181edc48e
Fix error message when not finding a particular function
2024-09-16 22:43:30 +02:00
Christoffer Lerno
81f1930349
Code cleanup. Correct deprecation notice on '$or'. Allow "self" param on macro method to be constant.
2024-09-16 10:40:34 +02:00
RealPacket
54a1819d46
chore: Remove overrides for C3 files ( #1450 )
2024-09-16 10:21:41 +02:00
Christoffer Lerno
1b5472cc94
Add paramsof.
2024-09-15 23:43:09 +02:00
Christoffer Lerno
06a083bafc
Lambda / function type would accidentally be processed as a method.
2024-09-15 22:12:03 +02:00
Christoffer Lerno
9bb45cb6a3
Add missing concat. Fix error message location on not enough arguments.
2024-09-15 15:56:13 +02:00
Real-Packet
1bfe9c568e
chore(ci): Update actions/*-artifact to v4 (simple find & replace)
...
Because v3 is being deprecated and uses Node 16 instead of Node 20.
v4 is also a drop in replacement so we can just find & replace the usages without any changes to easily upgrade to v4.
2024-09-15 02:11:00 +02:00
Christoffer Lerno
4f5e5fcdba
Remove mem tap.
2024-09-15 02:10:19 +02:00
Christoffer Lerno
bca44d1c14
Bug with casting anyfault to error.
2024-09-15 00:55:22 +02:00
Christoffer Lerno
e6d1d66c8f
Updated grammar script and fix concat op
2024-09-14 23:13:06 +02:00
Christoffer Lerno
c3a5f5c0f0
Build macos version with LLVM 17
2024-09-14 22:18:33 +02:00
Christoffer Lerno
c0875d7987
Fix macos release.
2024-09-14 22:15:16 +02:00
Christoffer Lerno
6b6ac2bcb3
Rename release files.
2024-09-14 20:19:12 +02:00
Christoffer Lerno
f78466452a
Updated grammar.y
2024-09-14 19:24:21 +02:00
Christoffer Lerno
f51230e793
Fix bugs in "trap-on-wrap" #1434 .
2024-09-14 16:19:40 +02:00
Christoffer Lerno
3ab201ce10
Use atexit to fix finalizers on Windows #1361 .
2024-09-14 16:17:57 +02:00
Christoffer Lerno
45a94cfe86
Asserts are now correctly included and traced in when running tests. Removed accidental debug trace.
2024-09-14 13:48:27 +02:00
Christoffer Lerno
f16cc999bd
Fix bug where inline index access to array in a struct would crash the compiler.
2024-09-14 12:58:37 +02:00
Christoffer Lerno
d39f25efd3
Support inline struct designated init as if inline was anonymous.
2024-09-13 20:31:21 +02:00
Christoffer Lerno
6b2ce6de6f
Fix unreachable.
2024-09-13 15:32:26 +02:00
Christoffer Lerno
3f1738e0fe
Unified constant handling.
2024-09-13 15:11:15 +02:00
Real-Packet
3ceaf2ab81
chore: migrate to softprops/action-gh-release
...
Hopefully this works. Had to generate a new GPG key because GPG requires a password for signing stuff with GPG and I forgot to use it to sign something so I could save it in the password manager.
Fixes c3lang/c3c#1437
2024-09-13 15:07:45 +02:00
wilsonk
4c7d61ae82
Bsd family fixes ( #1435 )
...
Some small fixes for the BSD's
Try fcntl for NetBSD
Fixes for stdin, etc. and setjmp/longjmp
2024-09-13 14:49:51 +02:00
Alexey Kutepov
d53dd57b84
Introduce os::native_fputc() abstraction layer for File.write_byte() ( #1440 )
...
Introduce os::native_fputc() abstraction layer for File.write_byte()
2024-09-13 12:25:41 +02:00
Christoffer Lerno
6ff5ac5592
Removed unused functions.
2024-09-12 15:28:19 +02:00
Christoffer Lerno
9ce1bbe3cd
Update README.md
...
Fix link
2024-09-12 14:02:10 +02:00
Christoffer Lerno
65c48419d0
Minor refactorings. Added "Thank you" section to readme. Some fixes to hostinfo.
2024-09-12 13:47:49 +02:00
alex_s168
d376ee6671
ability to disable llvm at compile time ( #1433 )
...
ability to disable llvm at compile time
2024-09-12 13:36:00 +02:00
Christoffer Lerno
eaa419a48d
Correct '.so' suffix on dynamic libraries on Linux.
2024-09-12 09:21:23 +02:00