20 Commits

Author SHA1 Message Date
ed 0ab226f739 adding prefixes to source
They'll be removed on demand in libgen repo
2025-02-12 14:40:11 -05:00
ed ea67e889e0 Moving over lib gen features to a different repo, changing this repo to just be minimal metadesk lib from raddbg 2025-02-12 13:52:09 -05:00
ed 1fad37ad90 began to work on docs 2025-02-12 12:08:41 -05:00
ed f41658efd8 updated gencpp_c11 to latest (backported changes from here to its repo) 2025-02-11 19:30:52 -05:00
ed b3d205da01 Adding MF_Identifier_Decorator option for STB_SPRINTF_DECORATE 2025-02-11 18:58:45 -05:00
ed 85ba3615e3 gen_c11 segregated: metaprogram now splits stb_sprintf_h content between metadesk_deps header and source 2025-02-11 18:24:46 -05:00
ed 6e36cee9e3 was able to parse stb_sprintf.h, had to make mods to gencpp_c11.h (will eventually protogate to its repo) 2025-02-11 16:39:17 -05:00
ed 66d9b4e98a finished inital pass of gen_c11 (singleheader and segeregated) 2025-02-11 13:00:55 -05:00
ed a2938ef3fa gen_c11.c: generates base 2025-02-10 21:48:46 -05:00
ed 5d8850af55 got the baseline drafted for gen_c11.c 2025-02-10 18:41:56 -05:00
ed b989bece73 starting to draft out gen_c11.c 2025-02-10 17:07:11 -05:00
ed 546c50885f progress on collaping arena->allocator info code paths (did some generic selection changes)
Going to offload prefix naming to the c11.refactor and cpp17.refactor
2025-02-09 19:14:33 -05:00
ed c8cb9f3995 prepping to collapse Arena receiving functions to those that receive AllocatorInfo
perf impact of the indirection should be minimal, reduces code duplication.

Ideally we'd use gencpp to just have the user specify what they want, then modify which proc is avail by doing the refactors required for using either
However, it can't process execution bodies yet or expressions so thats not possible.

The other way is to just utilize _Generic to generalize the codepath so that it collapses neater but that leads to a ton of implementation getting lifted to preprocessing... so no.
2025-02-09 11:51:50 -05:00
ed e4f797f594 finished initial pass on stb_sprintf.h 2025-02-09 10:42:26 -05:00
ed 5798526a54 progress on stb_sprintf.h 2025-02-09 05:40:33 -05:00
ed 83ce4d1bb2 more fixes 2025-02-09 00:37:35 -05:00
ed d82af845bc forgot about stb_sprintf.h... 2025-02-08 23:53:35 -05:00
ed 2ef486b7a0 misc 2025-02-08 16:26:54 -05:00
ed 558cda3524 sidetrack: doing some basic gen library metaprogram bootstrapping 2025-02-08 14:38:20 -05:00
ed 61f2fad8ef working on strings.h/c, added stb_sprint.h from the raddbg repo 2025-02-05 22:02:57 -05:00