Commit Graph
100 Commits
Author SHA1 Message Date
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 e0df4e5bed [examples] comments in multi-threaded parse example 2021-10-10 19:42:00 -07:00
Allen Webster f30295fb5c [examples] notes on the scratch pool 2021-10-10 19:16:36 -07:00
Allen Webster 392ea138cc [examples] comments in memory management example 2021-10-10 19:04:55 -07:00
Allen Webster c968dd4329 [examples] C like expressions comments 2021-10-10 16:52:09 -07:00
Allen Webster 07770d51d1 [examples] filled out the expression intro example and added commentary 2021-10-10 15:11:41 -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 c016b8cccc [examples] fix indexing bug in multi threaded example; make the intrinsic work with clang too 2021-10-10 11:03:22 -07:00
Allen Webster f07b74da5f [examples] add output and combining to multi threaded parse example 2021-10-10 10:53:59 -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 39e10cd246 [expression parser] use the operator pointer right inside the expression node 2021-10-09 20:30:05 -07:00
Allen Webster 838283c706 [examples] start setting up expression parser intro 2021-10-09 20:14:07 -07:00
Allen Webster 670f5592f7 [examples] final pass over todos in the type metaprogram 2021-10-09 19:13:27 -07:00
Allen Webster ee3adcfb60 [examples] input for types example that generates errors 2021-10-09 16:08:24 -07:00
Allen Webster 5a6ad0a770 [examples] more robust array index checker in the type example 2021-10-09 11:59:06 -07:00
Allen Webster 2a6bf65f13 [examples] finish type metadata commentary 2021-10-09 11:44:07 -07:00
Allen Webster c8c5763d0a [examples] progress on type metadata commentary 2021-10-08 23:12:32 -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 367b527229 [examples] start type metadata commentary 2021-10-08 21:01:04 -07:00
Allen Webster fb53369f30 [examples] finish commentary in overrides.c 2021-10-08 15:56:16 -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 feee8cf745 [examples] finish overrides touch ups; tweak overrides example 2021-10-08 15:32:16 -07:00
Allen Webster 204af74b31 [examples] starting notes in overrides example; start cleaning up overrides 2021-10-08 15:25:58 -07:00
Allen Webster 95731945d0 [examples] user errors commentary 2021-10-08 11:56:53 -07:00
Allen Webster 8432125f55 [examples] write examples directory 2021-10-08 11:08:51 -07:00
Allen Webster 0b27e69ec4 welcome comment 2021-10-08 10:11:19 -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 1372db5610 [expr parser] a few misc bits of tidying - poking around for next steps - notes on issues 2021-10-02 20:04:00 -07:00
Allen Webster f635b2d066 [expr parser] fix error reporting for unfinished expression inside paren/bracket 2021-10-01 23:38:36 -07:00
Allen Webster 0b04757575 [expr parser] sort 'NodeNextWithLimit' with other introspection helpers 2021-10-01 23:13:05 -07:00
Allen Webster 2f6ada618a [expr parsing] handle the 'errors' monad through the parse context instead of through return composition 2021-10-01 23:11:05 -07:00
Allen Webster ed377ebd33 [expr parsing] rename MD_ExprNode -> MD_Expr 2021-10-01 22:52:45 -07:00
Allen Webster 69ce78c71d [expr parser] expose the last of the hidden functions 2021-10-01 22:51:41 -07:00
Allen Webster 891d71005d [expr parser] factor iterators out of the parser context 2021-10-01 22:45:45 -07:00
Allen Webster 04e65af953 [expr parser] rearrange expression errors to point right at the original metadesk nodes as much as possible 2021-10-01 22:08:40 -07:00
Allen Webster 8cbd0cc2dc [expr parser] fix test fails; refactoring error reporting 2021-10-01 21:03:33 -07:00
Allen Webster b41590525e [expr parser] fuse operator with operator node 2021-10-01 20:42:14 -07:00
Allen Webster 9ac946cf07 [expr parser] change the operator definition so that an MD_Node is not required 2021-10-01 20:31:06 -07:00
Allen Webster 4ce22d786c [expr parser] getting familiar with the expression parser 2021-10-01 20:03:50 -07:00
Allen Webster e36e0de276 [example] use type as receipt of work instead of a boolean 2021-10-01 19:21:51 -07:00
Allen Webster a580096708 [examples] do the deduplication todos in types example 2021-10-01 19:07:50 -07:00
Allen Webster cdbf239c34 [examples] implement 'complete' feature for maps 2021-09-26 11:08:30 -07:00
Allen Webster fcb61541a9 [examples] implement default & auto map features 2021-09-26 10:57:28 -07:00
Allen Webster 64b2075038 [examples] fix bug in case iteration 2021-09-26 10:44:46 -07:00
Allen Webster 4a1f9529a0 [examples] generate map functions 2021-09-26 10:39:39 -07:00
Allen Webster 7b830bc584 [example] resolve map's case in value to an enumerant pointer 2021-09-25 21:55:26 -07:00
Allen Webster 1d204361e6 [example] duplicate case checker 2021-09-25 21:45:35 -07:00
Allen Webster b203d0ac67 [examples] check case values when building case lists 2021-09-25 21:35:51 -07:00
Allen Webster 7feed9ea6a [examples] develop the map analyzer 2021-09-25 21:29:42 -07:00
Allen Webster 8ce66a8dff [examples] type info: member name collision checker 2021-09-25 20:43:53 -07:00
Allen Webster e80557cbfd [examples] generate enum types with typedefs when they have underlying basic types 2021-09-25 20:35:36 -07:00
Allen Webster 1ff9a17ef5 [examples] equip enums with underlying basic types 2021-09-25 20:32:04 -07:00
Allen Webster 9aad622357 [examples] type info: basic type sizes; also get rid of redundant parameters 2021-09-25 20:21:08 -07:00
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