Commit Graph

54 Commits

Author SHA1 Message Date
ed 0bf3f13c83 omitting tests offloaded to metadesk_libgen 2025-02-12 15:48:17 -05:00
ed 1fad37ad90 began to work on docs 2025-02-12 12:08:41 -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 4976d79ab3 attempting to do a parse on stb_sprintf.h for segregated 2025-02-11 15:32:18 -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 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 d82af845bc forgot about stb_sprintf.h... 2025-02-08 23:53:35 -05:00
ed 50c7853b9f its compiling... (prepping for runtime testing) 2025-02-08 23:27:06 -05:00
ed 3b12268f46 progress on compiler errors 2025-02-08 22:36:11 -05:00
ed b42f4631ed setup inital build script to start tackling compile errors 2025-02-08 20:54:50 -05:00
ed 2ef486b7a0 misc 2025-02-08 16:26:54 -05:00
ed 708fed034b add editorconfig and .clangformat (for gencpp_c11) 2025-02-01 20:42:33 -05:00
ed 1d0045b759 initial scripts 2025-02-01 12:50:25 -05:00
ryanfleury ecfe3314b6 robustify against /W4 on MSVC 2022-02-17 14:14:50 -07:00
Ryan Fleury afc076187b Merge pull request #5 from mmozeiko/pthreads
add pthreads support to multi_threaded.c example
2021-11-16 21:43:07 -07:00
Mārtiņš Možeiko fdab8bd6b2 add github actions 2021-11-14 18:13:28 -08:00
Mārtiņš Možeiko 1d23319460 add pthreads support to multi_threaded.c example 2021-11-14 16:59:28 -08:00
Allen Webster 8d4d2d2c3a naming pass; stub in expression API docs 2021-10-24 13:02:13 -07:00
Allen Webster 5516a221ee [examples] fix typo in build script 2021-10-10 20:30:31 -07:00
Allen Webster e21c5b9d6b [examples] fill in directory comments for all the latest examples 2021-10-10 12:51:21 -07:00
Allen Webster f26cb332f0 [examples] tweaks in multi threaded example; fill in the memory management example 2021-10-10 11:59:58 -07:00
Allen Webster 93ac2b4bae [examples] get started on the multi threaded parse example 2021-10-10 10:00:03 -07:00
Allen Webster 8ee69f0124 [examples] setting up the last two integration examples and slots in the examples directory 2021-10-09 23:45:02 -07:00
Allen Webster b67dc566c6 [examples] tweaks to overrides example and commentary 2021-10-09 22:34:41 -07:00
Allen Webster 126fab22df [examples] c like expressions example 2021-10-09 22:07:52 -07:00
Allen Webster ac9f415180 [examples] write expressions intro example 2021-10-09 20:58:33 -07:00
Allen Webster a5436aec0e [examples] more type metadata commentary; write some usage code for the generated type info 2021-10-08 22:13:45 -07:00
Allen Webster e5e65e4724 [maintenance] cleaning up old code, sticking to 'data desk' name, shrinking name of 'advanced_usages' 2021-10-08 15:34:43 -07:00
Allen Webster 5d51cf478c [examples] write overrides example; tidy up overrides overrview comment; tidy up misc notes files 2021-10-07 22:35:31 -07:00
Allen Webster b41590525e [expr parser] fuse operator with operator node 2021-10-01 20:42:14 -07:00
Allen Webster 4ce22d786c [expr parser] getting familiar with the expression parser 2021-10-01 20:03:50 -07:00
Allen Webster 1d204361e6 [example] duplicate case checker 2021-09-25 21:45:35 -07:00
Allen Webster 3f5d4a96a9 [bld] setup new feature for include path management 2021-09-25 17:37:33 -07:00
Allen Webster cdb170bb86 [examples] generate types and function decarations 2021-09-24 16:41:26 -07:00
Allen Webster f0ca7effc5 [examples] struct member lists 2021-09-19 16:56:39 -07:00
Allen Webster 2be6caf79a [examples] rearrange examples to give big examples their own folder; add hand written files for type info example 2021-09-19 16:28:06 -07:00
Allen Webster b6cbff2eb1 tidying up naming scheme and parameters in helper inspection API; [examples] sketch of type metadata example 2021-09-17 00:48:06 -07:00
Allen Webster 7d82d4f0ef [examples] custom user errors 2021-09-16 22:52:29 -07:00
Allen Webster ba372c135f [examples] rearrange; add hello_world.mdesk example file 2021-09-10 15:54:39 -07:00
Allen Webster da7284f5ec [examples] edit the datadesk-like example 2021-09-10 13:01:13 -07:00
Miguel Lechon c6c790e50d expression parser; first pass. 2021-09-07 18:16:57 +02:00
Allen Webster 5a1462faee clean house on old examples; sketch out outline for new examples 2021-09-02 19:29:40 -07:00
Allen Webster cae86313c6 rename examples build/run scripts 2021-09-02 18:52:05 -07:00
Allen Webster 47b5e0bf72 rename samples to examples; delete dead build scripts 2021-09-02 18:49:34 -07:00
Allen Webster a2766a2e0c clean up old samples; mark md_c_helpers with an error; remove c helper tests 2021-09-01 19:01:27 -07:00
Allen Webster 52f975fb8b fix some bugs with new build script 2021-08-24 21:42:38 -07:00
Allen Webster 78bfd000d4 min/max macros 2021-08-24 21:16:33 -07:00