Commit Graph
100 Commits
Author SHA1 Message Date
abdelrahman d2b4ec2052 Rename dbl list labels 2026-01-03 20:20:40 +00:00
abdelrahman 0a761eef05 Reformat 2026-01-03 19:53:43 +00:00
abdelrahman 821406315e Reformat 2026-01-03 19:51:26 +00:00
abdelrahman 8adbc1f841 Reformat 2026-01-03 19:17:10 +00:00
abdelrahman 1f3df20b7d Reformat 2026-01-03 19:13:42 +00:00
abdelrahman 458046a5d0 Reformat 2026-01-03 18:51:30 +00:00
abdelrahman 6d4a72aff9 Fix MSVC errors 2026-01-03 18:45:54 +00:00
abdelrahman 326265722e Add support for initialising arena with backing buffer 2026-01-03 18:36:30 +00:00
abdelrahman 83b879a180 Always reserve padding for structs that need it 2026-01-03 17:04:36 +00:00
abdelrahman b372447a46 Implement Windows file IO 2026-01-03 03:15:25 +00:00
abdelrahman fac9cb57eb Update windows include 2026-01-03 03:15:03 +00:00
abdelrahman abad2fa02a Add padding to stack array 2026-01-03 03:14:53 +00:00
abdelrahman 576699996f Update POSIX file IO 2026-01-03 03:13:42 +00:00
abdelrahman c2ca99cac4 Implement POSIX file IO 2026-01-02 22:57:12 +00:00
abdelrahman a07f05d1a3 Use 64 bit offsets for file seeking 2026-01-02 22:56:26 +00:00
abdelrahman ebf16c6ba3 Move is_power_of_two to misc_utils 2026-01-02 19:19:25 +00:00
abdelrahman 91138f9239 Reformat 2026-01-02 19:03:19 +00:00
abdelrahman ae8cb2e473 Add function to rename file 2026-01-02 19:02:17 +00:00
abdelrahman f5c2ed89a4 Add tests for file IO API 2026-01-02 18:56:19 +00:00
abdelrahman 989a5f60c4 Update file IO API 2026-01-02 18:56:09 +00:00
abdelrahman 659a3e457c Reformat 2026-01-02 17:17:25 +00:00
abdelrahman c2a156e256 Remove array structs (#10)
Reviewed-on: #10
2026-01-02 16:50:52 +00:00
abdelrahman f3ee1ee468 Unify struct names and tags 2026-01-02 14:00:00 +00:00
abdelrahman 7be1b42107 Reformat tests 2026-01-02 01:12:01 +00:00
abdelrahman 41cac2ef7f Reformat os 2026-01-02 00:49:21 +00:00
abdelrahman 24716505be Reformat prng 2026-01-02 00:38:44 +00:00
abdelrahman 7e21961943 Reformat uuid 2026-01-02 00:36:05 +00:00
abdelrahman 6f27d5ea91 Reformat common 2026-01-02 00:30:55 +00:00
abdelrahman 54691a8ede Reformat base 2026-01-02 00:29:24 +00:00
abdelrahman ab91bb2c9e Update Makefile 2025-12-29 23:40:49 +00:00
abdelrahman 52303c81ae Rename os memory functions 2025-12-29 23:29:40 +00:00
abdelrahman 2372ae6675 Remove inline 2025-12-29 23:13:46 +00:00
abdelrahman ad2de98093 Switch to using tabs instead of spaces (#9)
Reviewed-on: #9
2025-12-29 22:46:52 +00:00
abdelrahman aa6ef1ec2c Reformat 2025-12-29 15:44:34 +00:00
abdelrahman 5e939a7158 Add option to fill array when allocating 2025-12-28 18:49:27 +00:00
abdelrahman 1cbb148a1f Add ability to fill array with capacity 2025-12-28 18:31:49 +00:00
abdelrahman a065dfb573 Expand data size utilities 2025-12-24 08:53:12 +00:00
abdelrahman 3904b3a1ee Node validation checks against list 2025-12-17 05:20:27 +00:00
abdelrahman d15022603f Refactor array validation to function 2025-12-17 04:34:49 +00:00
abdelrahman debf6ed8eb Add vim info 2025-12-17 04:29:26 +00:00
abdelrahman 6c5352e9de Fix _dbl_list_pop_front bug 2025-12-17 04:23:57 +00:00
abdelrahman 4ea30f0762 No codegen doubly-linked list (#8)
Reviewed-on: #8
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
2025-12-17 03:53:13 +00:00
abdelrahman 4b95a681d4 Restructure the library layers 2025-12-16 17:36:50 +00:00
abdelrahman c0d901d7e9 Build and run C++ tests on MSVC 2025-12-15 23:40:30 +00:00
abdelrahman 31727dd6e7 Update va_arg_count C++ utility to support MSVC 2025-12-15 23:40:03 +00:00
abdelrahman af56a5be3f Reformat 2025-12-15 21:51:46 +00:00
abdelrahman e16abc2459 Fix MSVC errors 2025-12-15 21:48:30 +00:00
abdelrahman 05b7cfbbea Confirm WAPP_PLATFORM_C is defined before checking version 2025-12-15 21:17:10 +00:00
abdelrahman a5928b03c9 Ensure spaces are escaped in Makefile 2025-12-15 20:19:05 +00:00
abdelrahman a9c6b8ba72 Fix MSVC Spectre warnings 2025-12-15 20:06:34 +00:00
abdelrahman c6560ab7f5 Add windows pragma to slience warning in runtime assert 2025-12-15 19:54:04 +00:00
abdelrahman 04858b76c0 Add WIN32_LEAN_AND_MEAN 2025-12-15 19:53:20 +00:00
abdelrahman e3c1283017 Cast to avoid MSVC warnings 2025-12-15 19:48:58 +00:00
abdelrahman b55a3ff5d8 Update WUUID macros 2025-12-15 15:16:17 +00:00
abdelrahman 50b6a0b0f7 Change UUID to WUUID
Windows defines a UUID struct that causes clashes
2025-12-15 15:13:56 +00:00
abdelrahman 6b7421c25d Update README 2025-12-15 00:28:16 +00:00
abdelrahman ec0ab2170c Fix file reading 2025-12-15 00:09:48 +00:00
abdelrahman efadbf5fc2 Restore array structs but with no codegen (#7)
Reviewed-on: #7
2025-12-14 23:48:13 +00:00
abdelrahman 056dbbf3d7 Fix bug with C++ array_pop 2025-12-14 03:06:50 +00:00
abdelrahman b11ee05df4 Fix C++ array_pop 2025-12-14 02:31:25 +00:00
abdelrahmanandAbdelrahman Said 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
abdelrahman 331f7e5e4e Remove build.c 2025-12-13 02:34:15 +00:00
abdelrahman ae7a8d4bab Fix installation prefix 2025-12-13 02:23:34 +00:00
abdelrahman 9c5b95c229 Change boolean size to 1 byte 2025-12-07 12:17:40 +00:00
abdelrahman 1bdc1ad955 Fix array pop for C++ pointer types 2025-11-08 20:45:41 +00:00
abdelrahman 0a00721c10 Add codegen as dependency for install target 2025-11-08 00:19:07 +00:00
abdelrahman 725955cb2e Allow user to pass code generation input to Makefile 2025-11-08 00:06:48 +00:00
abdelrahman 0354c7b485 Prefix static macros 2025-10-18 16:17:13 +01:00
abdelrahman 9f32891bbc Add test for str8 array 2025-09-28 00:05:17 +01:00
abdelrahman b3ebff3635 Remove ABS_INSTALL_PREFIX 2025-09-20 15:43:36 +01:00
abdelrahmanandAbdelrahman Said 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
abdelrahman 09e96f8112 Update Makefile 2025-09-06 21:27:17 +01:00
abdelrahman 26fd329caa Update codegen to support accepting JSON file as input 2025-08-31 20:56:49 +01:00
abdelrahman 1e224702a3 Add default target as one of the available targets when make help is run 2025-08-31 14:21:55 +01:00
abdelrahman 74cca183e0 Make all the default target 2025-08-31 14:20:44 +01:00
abdelrahman e26bf613a5 Add support for release builds with debug info and using lib externally 2025-08-31 14:17:04 +01:00
abdelrahman 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
abdelrahman 011083ab83 Replace bool, true and false with aliases 2025-08-09 22:38:03 +01:00
abdelrahman b8c548ee4b Add static, runtime and debug assert utilities 2025-08-09 22:37:55 +01:00
abdelrahman 75be2316e0 Add vim encoding and folding marker 2025-08-09 14:35:28 +01:00
abdelrahman 74164717d0 Fix bug in array codegen 2025-05-05 19:15:58 +01:00
abdelrahman 6c8434a530 Use asserts in array 2025-05-05 20:06:58 +01:00
abdelrahman cac66b9dbb Use asserts in dbl_list 2025-05-05 19:55:42 +01:00
abdelrahman 175f627f93 Remove text from asserts 2025-05-05 19:29:44 +01:00
abdelrahman be30189d15 Assert uuid argument isn't NULL 2025-05-05 19:12:13 +01:00
abdelrahman 3689c17d09 Use asserts to validate arguments for Str8 2025-05-05 19:08:44 +01:00
abdelrahman 8e952d9bc8 Use assert to validate inputs to allocator functions 2025-05-05 19:01:10 +01:00
abdelrahman def7576101 Use asserts in arena 2025-05-05 18:57:11 +01:00
abdelrahman 3fed536a74 Use assert in wapp_mem_util_align_forward instead of returning NULL 2025-05-05 18:51:10 +01:00
abdelrahman aae39fe656 Fix MSVC errors 2025-05-05 16:41:56 +01:00
abdelrahman 4e3945d1d0 Refactor array to avoid having to include external types 2025-05-05 16:33:08 +01:00
abdelrahman 98a802e3eb Remove C++ pseudo support 2025-05-05 02:48:35 +01:00
abdelrahman 0d4aa7a9c2 Modify README.md 2025-05-05 02:28:29 +01:00
abdelrahman a229f9be8c Run codegen on Linux 2025-05-05 00:04:24 +01:00
abdelrahman 2156d2ff3a Fix MSVC Spectre warnings 2025-05-04 23:59:50 +01:00
abdelrahman 12f083edb0 Add code generation for array 2025-05-04 23:26:03 +01:00
abdelrahman f444911452 Refactor strings and allocator to primitives 2025-05-04 23:25:27 +01:00
abdelrahman 163283f77f Remove unnecessary separate handling for bool type 2025-05-04 22:20:38 +01:00
abdelrahman 6064ed346c Ensure arena capacity is a power of 2 2025-05-04 18:02:32 +01:00
abdelrahman 77f3c40ebd Add copy array with allocation and finish writing array tests 2025-04-27 19:30:14 +01:00