295 Commits

Author SHA1 Message Date
6c8434a530 Use asserts in array 2025-05-05 20:06:58 +01:00
cac66b9dbb Use asserts in dbl_list 2025-05-05 19:55:42 +01:00
175f627f93 Remove text from asserts 2025-05-05 19:29:44 +01:00
be30189d15 Assert uuid argument isn't NULL 2025-05-05 19:12:13 +01:00
3689c17d09 Use asserts to validate arguments for Str8 2025-05-05 19:08:44 +01:00
8e952d9bc8 Use assert to validate inputs to allocator functions 2025-05-05 19:01:10 +01:00
def7576101 Use asserts in arena 2025-05-05 18:57:11 +01:00
3fed536a74 Use assert in wapp_mem_util_align_forward instead of returning NULL 2025-05-05 18:51:10 +01:00
aae39fe656 Fix MSVC errors 2025-05-05 16:41:56 +01:00
4e3945d1d0 Refactor array to avoid having to include external types 2025-05-05 16:33:08 +01:00
98a802e3eb Remove C++ pseudo support 2025-05-05 02:48:35 +01:00
0d4aa7a9c2 Modify README.md 2025-05-05 02:28:29 +01:00
a229f9be8c Run codegen on Linux 2025-05-05 00:04:24 +01:00
2156d2ff3a Fix MSVC Spectre warnings 2025-05-04 23:59:50 +01:00
12f083edb0 Add code generation for array 2025-05-04 23:26:03 +01:00
f444911452 Refactor strings and allocator to primitives 2025-05-04 23:25:27 +01:00
163283f77f Remove unnecessary separate handling for bool type 2025-05-04 22:20:38 +01:00
6064ed346c Ensure arena capacity is a power of 2 2025-05-04 18:02:32 +01:00
77f3c40ebd Add copy array with allocation and finish writing array tests 2025-04-27 19:30:14 +01:00
d3f1686d58 Add testing for i32 array to test array logic 2025-04-21 17:47:33 +01:00
a359331df7 Complete array implementation before moving it to codegen 2025-04-21 17:46:59 +01:00
14115f7e7e Move rounding up and va_args count to misc_utils 2025-04-21 17:46:27 +01:00
12bd3eb489 Add .clangd config file 2025-04-21 14:21:40 +01:00
266d43e262 Update Makefile 2025-04-21 14:16:54 +01:00
a568b30163 Update snippets 2025-04-21 13:52:24 +01:00
b1773746d8 Add missing include 2025-04-21 13:45:29 +01:00
a479a43f4c Reformat 2025-04-20 21:32:38 +01:00
b476ceaeef Fix MSVC Spectre warnings 2025-04-20 20:28:02 +01:00
4d69b97149 Add /std:c11 to Windows build 2025-04-20 20:20:39 +01:00
181c4b8614 Update xorshift 2025-04-20 20:47:20 +01:00
0d541f6ee8 Add aliases.h and platform.h by default in codegen 2025-04-20 20:10:10 +01:00
9e34b37d8d Update codegen with WAPP_PLATFORM_CPP 2025-04-20 19:57:57 +01:00
b884d0e6a6 Switch to using WAPP_PLATFORM_CPP instead of __cplusplus 2025-04-20 19:52:33 +01:00
494bbeb398 Update platform cracking 2025-04-20 19:42:45 +01:00
7605eb4e57 Add C and CPP version macros 2025-04-20 19:39:16 +01:00
037b0fe698 Enforce C11 with GNU extensions on POSIX platforms 2025-04-20 18:28:17 +01:00
b13274cd81 Add compiler detection macros 2025-04-20 18:27:57 +01:00
4f9f632362 Update windows build script 2025-04-20 17:28:38 +01:00
6b039aeac0 Use posix path separator for codegen even on Windows 2025-04-20 16:47:11 +01:00
2ab3bfc2e1 Fix wrong include 2025-04-20 16:46:31 +01:00
bf99bef291 Support multiple python versions for code generation 2025-04-20 16:23:23 +01:00
50e23d8a13 Testing ideas for array implementation 2025-04-20 00:21:22 +01:00
3a49dba366 Generate dbl_list for default C types 2025-04-19 22:17:26 +01:00
1cfc52b35e Handle pointer types properly in dbl_list codegen 2025-04-19 21:27:00 +01:00
25395553d7 Fix codegen hidden bugs 2025-04-19 21:11:10 +01:00
9a651665ba Remove forward declaration from dbl_list source 2025-04-19 20:56:15 +01:00
8dbdfa2094 Update dbl_list codegen 2025-04-19 20:54:04 +01:00
add2ba541d Merge branch 'codegen' 2025-04-19 13:52:27 +01:00
63ed2633ea Update code generation to create one file for dbl_list 2025-04-19 13:33:09 +01:00
Abdelrahman Said
3c32b247c0 Upgrade codegen 2025-04-17 09:03:30 +01:00