Commit Graph
100 Commits
Author SHA1 Message Date
Allen Webster e24e0ea859 [examples] type metadata header 2021-09-25 20:07:40 -07:00
Allen Webster 0f59e3ee2d [examples] pull out each big piece into a function 2021-09-25 20:06:10 -07:00
Allen Webster aed4cf1811 [examples] upgrade type metadata organization 2021-09-25 19:58:33 -07:00
Allen Webster c30f4e4a74 [examples] generating type info definitions 2021-09-25 19:52:36 -07:00
Allen Webster 6db244045d [examples] generate enum member tables 2021-09-25 19:31:42 -07:00
Allen Webster d383a3122f [examples] generate type info declarations; generate member tables 2021-09-25 19:26:06 -07:00
Allen Webster 35f7d3daf1 [examples] get type info final program fully building 2021-09-25 17:44:23 -07:00
Allen Webster 3f5d4a96a9 [bld] setup new feature for include path management 2021-09-25 17:37:33 -07:00
Allen Webster 70e630cab6 more styl consistency 2021-09-25 17:01:24 -07:00
Allen Webster f65aa9f76f style consistency pass 2021-09-25 16:50:55 -07:00
Allen Webster e74ddc0f27 remove GetCap 2021-09-25 16:45:53 -07:00
Allen Webster cdb170bb86 [examples] generate types and function decarations 2021-09-24 16:41:26 -07:00
Allen Webster 1644c02d47 [examples] arrange notes for next time 2021-09-19 17:29:34 -07:00
Allen Webster 426de7ca2e [examples] enum member lists 2021-09-19 17:26:51 -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 0a07520fac reserve-commit-chain arenas 2021-09-17 18:07:38 -07:00
Allen Webster cbd755852d Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev 2021-09-17 00:48:13 -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 fd191a3181 Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev 2021-09-16 22:52:39 -07:00
Allen Webster 7d82d4f0ef [examples] custom user errors 2021-09-16 22:52:29 -07:00
Allen Webster 39f3d50419 MERGE 2021-09-16 20:07:41 -07:00
Allen Webster 883c384e38 [examples] hello_world.c first pass; parse check touch ups; API touch ups 2021-09-16 20:06:20 -07:00
Allen Webster e11ddda2fb [examples] sets, separators, & tags example (first pass) 2021-09-13 18:59:37 -07:00
Allen Webster e5c9b49c83 [examples] write labels.mdesk with examples of labels 2021-09-13 18:09:38 -07:00
Allen Webster feafba93f3 tidy up the reference macro, rename dereference function; [examples] tidy up the commentary about for loop macros 2021-09-13 17:21:12 -07:00
Allen Webster ba372c135f [examples] rearrange; add hello_world.mdesk example file 2021-09-10 15:54:39 -07:00
Allen Webster 39b30d9276 [examples] finish first draft commentary in parse_check.c 2021-09-10 15:26:21 -07:00
Allen Webster 6dd7acb1a2 iterating on debug dump and reconstruction API details 2021-09-10 14:46:41 -07:00
Allen Webster a3e8c90b67 [examples] filling in notes in the parse_check.c example; upgrading the datadesk_like_template a bit 2021-09-10 14:34:23 -07:00
Allen Webster aeaa8b1154 wrap the prev/next comment members for future upgrades 2021-09-10 13:20:26 -07:00
Allen Webster 28fc6e6799 a strong sorting system in md.h 2021-09-10 13:10:09 -07:00
Allen Webster da7284f5ec [examples] edit the datadesk-like example 2021-09-10 13:01:13 -07:00
Allen Webster b5f9186786 Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev 2021-09-02 19:49:18 -07:00
Allen Webster eef0ff2577 better lexer testing in sanity_tests 2021-09-02 19:49:09 -07:00
Allen Webster 213c20fd93 update lexer to new symbol parsing rule 2021-09-02 19:34:28 -07: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 f26bbc2c37 remove dead files md_posix.c, todo.txt 2021-09-02 18:40:29 -07:00
Allen Webster 131876018a expression parser skeleton (look for @expr_parser comments) 2021-09-01 21:12:55 -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 4452663046 make print helpers optional 2021-08-27 14:55:32 -07:00
Allen Webster abf9ca40b1 memset/memmove overrides 2021-08-25 09:17:00 -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
Allen Webster 5ef50bd3df new explicit build script diagnostic system; overrides system; move old build script content onto new system; reconfigure project.4coder 2021-08-21 23:15:51 -07:00
Allen Webster a6f3a12a7d setup build samples script 2021-08-21 19:16:45 -07:00
Allen Webster c92e703d2b added usage commens to the new scripts 2021-08-21 12:10:01 -07:00
Allen Webster 500c310bcc setup new build script 2021-08-20 23:45:00 -07:00
Allen Webster 5ebb2fbfd9 Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev 2021-08-19 20:37:29 -07:00
Allen Webster 80805e08ee 3-point file iteration API; unicode support on win32 2021-08-19 20:37:21 -07:00
Allen Webster 52d717c2b9 put in arena-put-back optimization 2021-08-13 11:34:18 -07:00
Allen Webster 70e6daf2dd linux low level memory implementation (not tested on linux yet) 2021-08-13 11:28:01 -07:00
Allen Webster 4ab0adf9cc overridable scratch; remove the tedious explicit thread init 2021-08-13 11:19:03 -07:00
Allen Webster fcda88e1cd reduce arena overrides; tidy up organization of default control macros; eliminate arena casts by directly relying on MD_IMPL_Arena in header 2021-08-13 10:03:28 -07:00
Allen Webster d0953c883d arena experiment; switch from function pointer overrides to macro overrides 2021-07-25 15:28:50 -07:00
Allen Webster a0cc57ebd2 default feature control macros 2021-07-21 17:37:28 -07:00
Allen Webster 37484ea0a6 thread context scratch system; converge on transition idiom in sample code 2021-07-21 16:03:39 -07:00
Allen Webster c6df111fb1 adding arena (p8) - done 2021-07-20 22:32:30 -07:00
Allen Webster bf60e1a8f7 adding arena (p7) 2021-07-20 22:23:58 -07:00
Allen Webster a54f8b893f adding arena (p6) 2021-07-20 22:17:03 -07:00
Allen Webster 2953d97c53 adding arena (p5) 2021-07-20 22:04:37 -07:00
Allen Webster a2524640ad adding arena (p4) 2021-07-20 22:00:56 -07:00
Allen Webster 863834ad6a adding arena (p3) 2021-07-20 21:56:25 -07:00
Allen Webster ba20ee9b14 adding arena (p2) 2021-07-20 21:48:44 -07:00
Allen Webster 5e39bc8f2e adding arena (p1) 2021-07-20 21:30:22 -07:00
Allen Webster d937a99b51 implementation of arena constructed on reserve/commit/decommit/release 2021-07-20 21:23:14 -07:00
Allen Webster 81292bfb24 try putting it all in one .c file 2021-07-20 20:25:05 -07:00
Allen Webster 6a00e92c8f setup arena idea 2021-07-20 19:59:15 -07:00
Allen Webster 687dcc81de hand written c-style hex string from integer 2021-07-03 12:32:42 -04:00
Allen Webster e0399ef837 upgrade the string join function 2021-07-03 11:24:30 -04:00
Allen Webster 0f53a4379f give cl the attention it needs so it will work with us on C++ language version detection 2021-07-03 11:14:20 -04:00
Allen Webster fb865cea4b build with clang; C++ version cracking (except in cl compiler) 2021-07-03 11:00:12 -04:00
Allen Webster a477709af3 setup lexing to work (pretty well) with JSON) 2021-06-30 17:46:31 -04:00
Allen Webster bb6face7fe fix some broken 'error' tests 2021-06-30 17:13:31 -04:00
Allen Webster 83b02b1772 update single-line-comment tests 2021-06-30 16:51:38 -04:00
Allen Webster 297b1e9259 introduce Reserved token kind; get parser (mostly) working with new token kind 2021-06-30 16:49:37 -04:00
Allen Webster dbfd86d558 simplify single line comment trim 2021-06-30 16:02:46 -04:00
Allen Webster 8c41bea434 emit appropriate errors for BrokenComment and BrokenStringLiteral tokens 2021-06-30 15:50:31 -04:00
Allen Webster 1454f04265 detect broken strings in the lexer 2021-06-30 15:46:39 -04:00
Allen Webster 174e995e00 detect broken comments in the lexer 2021-06-30 15:39:03 -04:00
Allen Webster ac462ca85c Merge branch 'master' of https://github.com/Dion-Systems/metadesk 2021-06-30 15:29:44 -04:00
Allen Webster 5ef77634ef tighter implementation of group mechanism 2021-06-30 15:28:27 -04:00
Allen Webster e0ed76c62f Merge branch 'master' of https://github.com/Dion-Systems/metadesk 2021-06-30 15:00:47 -04:00
Allen Webster 1bcd741eeb fill out tests for more corner cases 2021-06-30 14:59:26 -04:00
Allen Webster 3648548cfe condense string flags 2021-06-30 14:09:32 -04:00
Allen Webster 4c6ab88708 test cases for integer/float lexing to get C style integers, JSON/C style floats 2021-06-28 11:09:27 -04:00
Allen Webster 15aa4d5b32 flesh out string -> integer functions 2021-06-28 10:45:55 -04:00
Allen Webster e9c5f28e4b apply grammar plan to sanity tests 2021-06-28 08:06:18 -04:00
Allen Webster 05399a17b6 forgot to save some changes for last commit 2021-06-28 07:26:57 -04:00
Allen Webster 0d57e26ba5 finish the elimination of MD_PushSibling 2021-06-28 06:44:06 -04:00
Allen Webster 9a93a40135 [notes] things to cover in intro materials 2021-06-28 06:28:09 -04:00
Allen Webster 0724d0a910 merge 2021-06-27 10:21:41 -04:00
Allen Webster aba3c9a164 [api] introduced linked list macros with z-check z-set upgrade 2021-06-12 12:02:44 -07:00
Allen Webster 0832e601b7 cut namespaces 2021-06-12 10:17:14 -07:00
Allen Webster f54f1771b9 [maps] queues instead of stacks to keep things in order 2021-06-12 10:12:55 -07:00
Allen Webster fb999476fa [map] overhaul the maps, fewer parts, fewer paths, fewer knobs; same great results 2021-06-06 20:15:48 -07:00
Allen Webster d390326e17 [impl] another test for a weird grammar problem 2021-06-06 01:28:03 -07:00
Allen Webster bf2d161158 [impl] more passing over the parser; found an odd part and made a test to reveal a bug 2021-06-06 01:06:36 -07:00