Commit Graph

197 Commits

Author SHA1 Message Date
e16abc2459 Fix MSVC errors 2025-12-15 21:48:30 +00:00
05b7cfbbea Confirm WAPP_PLATFORM_C is defined before checking version 2025-12-15 21:17:10 +00:00
a9c6b8ba72 Fix MSVC Spectre warnings 2025-12-15 20:06:34 +00:00
c6560ab7f5 Add windows pragma to slience warning in runtime assert 2025-12-15 19:54:04 +00:00
04858b76c0 Add WIN32_LEAN_AND_MEAN 2025-12-15 19:53:20 +00:00
e3c1283017 Cast to avoid MSVC warnings 2025-12-15 19:48:58 +00:00
b55a3ff5d8 Update WUUID macros 2025-12-15 15:16:17 +00:00
50b6a0b0f7 Change UUID to WUUID
Windows defines a UUID struct that causes clashes
2025-12-15 15:13:56 +00:00
ec0ab2170c Fix file reading 2025-12-15 00:09:48 +00:00
efadbf5fc2 Restore array structs but with no codegen (#7)
Reviewed-on: #7
2025-12-14 23:48:13 +00:00
056dbbf3d7 Fix bug with C++ array_pop 2025-12-14 03:06:50 +00:00
b11ee05df4 Fix C++ array_pop 2025-12-14 02:31:25 +00:00
de9ce5791a Arrays without code generation (#6)
Co-authored-by: Abdelrahman Said <said.abdelrahman@flawlessai.com>
Reviewed-on: #6
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
2025-12-14 01:47:43 +00:00
9c5b95c229 Change boolean size to 1 byte 2025-12-07 12:17:40 +00:00
1bdc1ad955 Fix array pop for C++ pointer types 2025-11-08 20:45:41 +00:00
0354c7b485 Prefix static macros 2025-10-18 16:17:13 +01:00
14bd6ce5fd File utilities and datatype implementation for a C-based code generator (#5)
Co-authored-by: Abdelrahman Said <said.abdelrahman@flawlessai.com>
Reviewed-on: #5
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
2025-09-20 13:48:08 +00:00
d3fccd61b5 Reintroduce C++ support and add usage tests for C++ (#4)
Reviewed-on: #4
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
2025-08-10 22:33:40 +00:00
011083ab83 Replace bool, true and false with aliases 2025-08-09 22:38:03 +01:00
b8c548ee4b Add static, runtime and debug assert utilities 2025-08-09 22:37:55 +01:00
75be2316e0 Add vim encoding and folding marker 2025-08-09 14:35:28 +01:00
Abdelrahman Said
d452225d02 Don't use uchar.h on macos 2025-05-20 16:52:12 +01:00
74164717d0 Fix bug in array codegen 2025-05-05 19:15:58 +01:00
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
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
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
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
a568b30163 Update snippets 2025-04-21 13:52:24 +01:00
b1773746d8 Add missing include 2025-04-21 13:45:29 +01:00
b476ceaeef Fix MSVC Spectre warnings 2025-04-20 20:28:02 +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