Commit Graph

78 Commits

Author SHA1 Message Date
roodletoof e1bd55e470 some updates and tests for the equals function 2026-05-25 20:42:53 +02:00
roodletoof 6b36507a00 latest latest non-functioning hashmap 2026-05-10 20:53:50 +02:00
roodletoof d0d98170ea made a discovery of some kind of fuckup 2026-05-05 23:05:53 +02:00
roodletoof 7d39b21c98 some progress, but broken 2026-04-17 14:54:10 +02:00
roodletoof 9bc0102501 WIP 2026-04-17 14:18:24 +02:00
roodletoof 64829d2ba2 add debugging function
want to visualize the mapping array of maps to see that they work as
intended
2026-04-17 13:17:29 +02:00
roodletoof 84f982329e more map progress 2026-04-12 22:59:50 +02:00
roodletoof 9a07b00a2c latest 2026-04-12 11:15:24 +02:00
roodletoof 83d66aaf36 good progress on maps 2026-04-12 10:51:01 +02:00
roodletoof 96c25dc3ad some progress, but mainly convert the TODO's into static_assert(0, ...) 2026-04-07 22:48:51 +02:00
roodletoof da4de1c560 some progress or whatever (still WIP) 2026-03-31 22:00:09 +02:00
roodletoof 253e095e4d some progress on scanner. begin clusterfuck map 2026-03-29 21:50:59 +02:00
roodletoof 0d5a2b8115 wreck everyting 2026-03-25 22:11:16 +01:00
roodletoof de5a5cd9c2 initial scanner changes draft 2026-03-24 23:52:05 +01:00
roodletoof ac4912abc5 rename hashmap to map 2026-02-28 00:29:58 +01:00
roodletoof 9140019767 hashmap init seems to be done
missing any testing though
2026-02-28 00:05:18 +01:00
roodletoof 24dd5250f8 make it compile on zig compier
cannot access null field members, also cannot access field that is
misaligned. pretend there is something at high multiple of 2 value to
future proof to stupid degree and stop the zig compiler from complaining
about the cool hack
2026-02-26 20:26:05 +01:00
roodletoof 0f7f092ad3 a little bit of this. a little bit of that (hashmap stuff) 2026-02-26 20:14:44 +01:00
roodletoof fbb340d465 WIP hashmap 2026-02-24 22:42:48 +01:00
roodletoof fdb5bb390c added important TODO 2026-02-18 21:15:33 +01:00
roodletoof 8fa5e8c0bf started work on hashmaps/hashsets 2026-02-18 21:09:48 +01:00
roodletoof f726956c78 remove cringe capitalization 2026-02-12 21:38:23 +01:00
roodletoof 941baafb01 easing declarations 2026-01-02 00:56:15 +01:00
roodletoof 9c329eaaaa failing scanner 2025-12-16 21:41:49 +01:00
roodletoof 4e15e8eb7e allocate the buffer immediately 2025-12-16 18:29:58 +01:00
roodletoof c2d632b0b9 update arena allocator docs 2025-12-14 19:42:09 +01:00
roodletoof 4c279e29b9 change help for cli 2025-12-14 19:32:57 +01:00
roodletoof 4906ae7001 fix tests and contains cmp version 2025-12-14 15:48:16 +01:00
roodletoof 526b49e518 change how contains works
TODO: update tests
2025-12-14 15:31:51 +01:00
roodletoof 1e78fa7d2f add qsort to arr 2025-12-14 13:11:34 +01:00
roodletoof 308cb6e83d cleanup 2025-12-14 12:40:32 +01:00
roodletoof c9959cdb5b Merge branch 'main' of github.com:roodletoof/cig 2025-12-13 16:47:42 +01:00
roodletoof 8485ad25e4 bounds checked arrays 2025-12-13 16:47:40 +01:00
roodletoof 1a59e2b190 file io 2025-12-13 16:30:27 +01:00
roodletoof c660d1ec1e update builder to always clear after retrieving output 2025-12-13 16:16:25 +01:00
roodletoof 289f4bb371 update arena allocator with a warning 2025-12-13 15:45:06 +01:00
roodletoof 68fee5b766 improve dynamic arrays 2025-12-13 15:02:25 +01:00
roodletoof 9398c0bf0e sb_fprint 2025-12-12 20:09:41 +01:00
roodletoof 260dabfbf0 latest 2025-12-10 07:58:23 +01:00
roodletoof 2c4646a0ee update append 2025-12-10 07:52:29 +01:00
roodletoof 1492d885dd rewrite arr_contains 2025-12-10 07:48:02 +01:00
roodletoof 2560ad99e7 dynamic array contains function 2025-12-09 20:20:21 +01:00
roodletoof f579ddc3cb update array names to be shorter 2025-12-09 17:49:23 +01:00
roodletoof e3bfde5826 add scan_repeat_literal to scanner 2025-12-07 18:11:34 +01:00
roodletoof c0d6f53808 add digit scanning function to scanner 2025-12-07 00:12:47 +01:00
roodletoof 0875f206cb add substring 2025-12-06 22:27:20 +01:00
roodletoof 38e612c54a Merge branch 'main' of github.com:roodletoof/cig 2025-12-06 21:37:55 +01:00
roodletoof e76d553f1a added basic string builder 2025-12-06 21:37:23 +01:00
roodletoof 5468f8e3d2 reformat with_borrow 2025-12-06 18:42:48 +01:00
roodletoof 234eb510a9 added scanner to cig library 2025-12-06 18:26:31 +01:00