Christoffer Lerno
abbedeec4f
Allow the "self" parameter to be $/# for macro methods. Fix bug when passing a type as a compile time value.
2024-09-21 15:55:39 +02:00
Christoffer Lerno
cdae3ec936
Some refactoring of the bitstruct representation. Correctly represent inner types. #1471
2024-09-21 13:43:52 +02:00
Christoffer Lerno
d727696830
Segfault using ternary with no assignment #1468 .
2024-09-21 00:57:36 +02:00
Christoffer Lerno
2a9078a3b4
Also depend on Ubuntu20
2024-09-20 23:14:19 +02:00
Christoffer Lerno
ac479c7e40
llvm issue with try when bool is combined #1467
2024-09-20 20:15:44 +02:00
Christoffer Lerno
cda6ffea1e
Slicing constant strings at compile time works.
2024-09-20 19:34:00 +02:00
Caleb-o
0900f401c0
Add Enum constraint to enummap
...
Fix typo in enumset require
2024-09-20 19:17:09 +02:00
Christoffer Lerno
d5a96ed637
Disabling LLVM 19 again.
2024-09-20 19:16:33 +02:00
Christoffer Lerno
8d9eff5297
Re-enable LLVM 19
2024-09-20 16:22:04 +02:00
Christoffer Lerno
19c1511901
Support linking .o files in compilation command. #1417
2024-09-20 16:21:29 +02:00
Christoffer Lerno
8e37e54645
Add env::COMPILER_BUILD_HASH and env::COMPILER_BUILD_DATE
2024-09-20 12:29:23 +02:00
Christoffer Lerno
c25645eab1
Add .gitkeep files to project subfolders.
2024-09-20 10:47:13 +02:00
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