ed
fa7d1fee42
more compile fixes
2025-08-14 10:28:26 -04:00
ed
d7158df20b
fixes for compiling
2025-08-14 10:02:22 -04:00
ed
cc906f9ec3
remove md_malloc, md_free
...
They were from a copy/paste of zpl's allocator impl and are not used.
2025-02-19 10:15:59 -05:00
ed
f3a018b7b8
progress on sanity_tests.c
2025-02-13 10:59:21 -05:00
ed
d3151b37eb
proofing
2025-02-13 09:55:52 -05:00
ed
3e064f6443
progress on sanity_tests.c, adding back md_str8_styllize
...
Eventually a heavy reduction of base & OS should be provided via libgen or done here to reduce the overall surface area of the library for the user.
Base and os were dragged from raddbg and the original metadesk didn't need as many definitions.
2025-02-13 09:53:46 -05:00
ed
28d0c85771
preogress on sanity_tests.c, NodeFlags -> MD_NodeFlags (somehow not renamed)
2025-02-13 07:41:10 -05:00
ed
2d96f311da
move metagen to source/auxiliary
2025-02-12 16:38:45 -05:00
ed
f94bd1d374
add link to Jonathan Blow's implicit context vod which has an introduction to the allocator interface
2025-02-12 16:00:29 -05:00
ed
27f873cd8d
adding back docs/readme for now as its still relevant..
2025-02-12 15:57:08 -05:00
ed
0bf3f13c83
omitting tests offloaded to metadesk_libgen
2025-02-12 15:48:17 -05:00
ed
6ee929295a
finished corrections/formating after adding prefix
2025-02-12 15:32:12 -05:00
ed
4a6a6b2290
WIP: corrections/formatting post prefix addition
2025-02-12 15:11:20 -05:00
ed
0ab226f739
adding prefixes to source
...
They'll be removed on demand in libgen repo
2025-02-12 14:40:11 -05:00
ed
aa5c1efb36
readme update
2025-02-12 14:15:49 -05:00
ed
d569b93bbd
adjusting repo for removing extra features not part of the original library
2025-02-12 13:57:45 -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
99097b765a
attempting to see compatability with old metadesk tests... not looking good...
2025-02-12 00:19:26 -05:00
ed
d80a6b61da
fixup _Generic macro usage
...
distinct macros failed (didn't realize). Was able to get proper setup with _Generic_L2 pattern
2025-02-12 00:19:04 -05:00
ed
90836817e9
got c11_sanity.c working (both segregated and single-header)
...
from now on I'm assuming both will work.
2025-02-11 20:26:03 -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
4976d79ab3
attempting to do a parse on stb_sprintf.h for segregated
2025-02-11 15:32:18 -05:00
ed
a6e12a9580
update gen_c11 & gen_cpp17 docs
2025-02-11 13:15:34 -05:00
ed
66d9b4e98a
finished inital pass of gen_c11 (singleheader and segeregated)
2025-02-11 13:00:55 -05:00
ed
a5af8b3d80
finished initial pass on generating single-header with gen_c11.c (still need to review it)
2025-02-10 23:39:17 -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
e07d7dbc2b
update c11.refactor for mdesk symbols
2025-02-10 14:35:09 -05:00
ed
d84c47c5ee
confirmed code_sanity.c, doing gen_c11 next
2025-02-10 14:06:05 -05:00
ed
42b87be084
oops
2025-02-10 13:43:38 -05:00
ed
03ae07485b
fix bugs with inline linked list macros
2025-02-10 12:39:22 -05:00
ed
632bc6d47f
memory fixes
2025-02-10 12:00:39 -05:00
ed
a54d309fbf
finished collaping arena->allocator info code paths
2025-02-10 01:43:33 -05:00
ed
fd44c53e57
progress on collaping arena->allocator info code paths: string.h/c done
2025-02-09 20:46:52 -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
dc9743b003
progress on collaping arena->allocator info code paths for strings.h/c, at string arrays
2025-02-09 14:35:31 -05:00
ed
51d97a71d4
progress on collaping arena->allocator info code paths for strings.h/c, adjusting naming convention
2025-02-09 14:07:01 -05:00
ed
007614c4e6
collapsed arena -> allocatorinfo : math.h
2025-02-09 12:14:04 -05:00
ed
716f8a7f3f
coallpsed arena -> allocatorinfo : command_line.h/c
2025-02-09 12:07:44 -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
0485058938
got past init
2025-02-09 05:40:04 -05:00
ed
d867a8b0c0
setup os_init() for manually starting up os_context
2025-02-09 02:20:36 -05:00
ed
83ce4d1bb2
more fixes
2025-02-09 00:37:35 -05:00