Proposals:
- using from C++
using i8 = signed char; - default args
- binding generator
- Valid ass print
- Switch on string literals
Cool as fuck (basically guarenteed to go in):
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <x86intrin.h> | |
| const char keywords[][16] = { | |
| "alignof", | |
| "auto", | |
| "break", |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdbool.h> | |
| #include <string.h> | |
| #include <x86intrin.h> | |
| #include <Windows.h> | |
| enum { | |
| TOKEN_ACCESSOR = '.', |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <stdbool.h> | |
| #include <string.h> | |
| #include <x86intrin.h> | |
| enum { | |
| TOKEN_ACCESSOR = '.', | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <x86intrin.h> | |
| const char keywords[][16] = { | |
| "alignof", | |
| "auto", | |
| "break", |
| trial_0_0(): | |
| L0: # r1 terminates at r647 | |
| r2 = [i64 x 1] PARAM 0 | |
| r3 = [i64 x 1] PARAM 1 | |
| r4 = [i64 x 1] 396779542 | |
| r5 = [i32 x 1] 4271987557 | |
| r6 = LOCAL 4 (4 align) | |
| r7 = [i32 x 1] TRUNC r3 | |
| r8 = [i32 x 1] TRUNC r3 | |
| r9 = [i32 x 1] r7 | r8 |
| // the macros could be made to not do | |
| // anything on codebases that wanna support both | |
| #ifdef __CUIK_C__ | |
| #include <cuik.h> | |
| #else | |
| #define cuik_tag | |
| #define cuik_tagged(val) | |
| #define cuik_try_use(a, b) ((a) == (b)) | |
| #define cuik_tag_switch switch |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdbool.h> | |
| #include <stdatomic.h> | |
| #include <threads.h> | |
| #define NUM_THREADS 8 | |
| static _Atomic size_t tasks_reserved; | |
| static _Atomic size_t tasks_complete; |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <x86intrin.h> | |
| static const char keywords[][16] = { | |
| "auto", | |
| "break", | |
| "case", |