Commit Graph

  • 343b239fa1 [expr parser] Reject multitoken and non-symbol, non-id token operators (note 3). Miguel Lechon 2021-10-06 08:02:46 +02:00
  • 88bf5be37c [expr parser] Postfix (),[],{},[),(] behave the same (note 2). Miguel Lechon 2021-10-04 20:18:46 +02:00
  • 94cd3ced02 [expr parser] Disallow non-postfix set-like operators (note 1b). Miguel Lechon 2021-10-04 07:57:45 +02:00
  • d1745050dd [expr parser] Treat all sets as leaves (note 1a). Miguel Lechon 2021-10-03 18:38:13 +02:00
  • 1372db5610 [expr parser] a few misc bits of tidying - poking around for next steps - notes on issues Allen Webster 2021-10-02 20:04:00 -07:00
  • f635b2d066 [expr parser] fix error reporting for unfinished expression inside paren/bracket Allen Webster 2021-10-01 23:38:36 -07:00
  • 0b04757575 [expr parser] sort 'NodeNextWithLimit' with other introspection helpers Allen Webster 2021-10-01 23:13:05 -07:00
  • 2f6ada618a [expr parsing] handle the 'errors' monad through the parse context instead of through return composition Allen Webster 2021-10-01 23:11:05 -07:00
  • ed377ebd33 [expr parsing] rename MD_ExprNode -> MD_Expr Allen Webster 2021-10-01 22:52:45 -07:00
  • 69ce78c71d [expr parser] expose the last of the hidden functions Allen Webster 2021-10-01 22:51:41 -07:00
  • 891d71005d [expr parser] factor iterators out of the parser context Allen Webster 2021-10-01 22:45:45 -07:00
  • 04e65af953 [expr parser] rearrange expression errors to point right at the original metadesk nodes as much as possible Allen Webster 2021-10-01 22:08:40 -07:00
  • 8cbd0cc2dc [expr parser] fix test fails; refactoring error reporting Allen Webster 2021-10-01 21:03:33 -07:00
  • b41590525e [expr parser] fuse operator with operator node Allen Webster 2021-10-01 20:42:14 -07:00
  • 9ac946cf07 [expr parser] change the operator definition so that an MD_Node is not required Allen Webster 2021-10-01 20:31:06 -07:00
  • 4ce22d786c [expr parser] getting familiar with the expression parser Allen Webster 2021-10-01 20:03:50 -07:00
  • e36e0de276 [example] use type as receipt of work instead of a boolean Allen Webster 2021-10-01 19:21:51 -07:00
  • a580096708 [examples] do the deduplication todos in types example Allen Webster 2021-10-01 19:07:50 -07:00
  • cdbf239c34 [examples] implement 'complete' feature for maps Allen Webster 2021-09-26 11:08:30 -07:00
  • fcb61541a9 [examples] implement default & auto map features Allen Webster 2021-09-26 10:57:28 -07:00
  • 64b2075038 [examples] fix bug in case iteration Allen Webster 2021-09-26 10:44:46 -07:00
  • 4a1f9529a0 [examples] generate map functions Allen Webster 2021-09-26 10:39:39 -07:00
  • 7b830bc584 [example] resolve map's case in value to an enumerant pointer Allen Webster 2021-09-25 21:55:26 -07:00
  • 1d204361e6 [example] duplicate case checker Allen Webster 2021-09-25 21:45:35 -07:00
  • b203d0ac67 [examples] check case values when building case lists Allen Webster 2021-09-25 21:35:51 -07:00
  • 7feed9ea6a [examples] develop the map analyzer Allen Webster 2021-09-25 21:29:42 -07:00
  • 8ce66a8dff [examples] type info: member name collision checker Allen Webster 2021-09-25 20:43:53 -07:00
  • e80557cbfd [examples] generate enum types with typedefs when they have underlying basic types Allen Webster 2021-09-25 20:35:36 -07:00
  • 1ff9a17ef5 [examples] equip enums with underlying basic types Allen Webster 2021-09-25 20:32:04 -07:00
  • 9aad622357 [examples] type info: basic type sizes; also get rid of redundant parameters Allen Webster 2021-09-25 20:21:08 -07:00
  • e24e0ea859 [examples] type metadata header Allen Webster 2021-09-25 20:07:40 -07:00
  • 0f59e3ee2d [examples] pull out each big piece into a function Allen Webster 2021-09-25 20:06:10 -07:00
  • aed4cf1811 [examples] upgrade type metadata organization Allen Webster 2021-09-25 19:58:33 -07:00
  • c30f4e4a74 [examples] generating type info definitions Allen Webster 2021-09-25 19:52:36 -07:00
  • 6db244045d [examples] generate enum member tables Allen Webster 2021-09-25 19:31:42 -07:00
  • d383a3122f [examples] generate type info declarations; generate member tables Allen Webster 2021-09-25 19:26:06 -07:00
  • 35f7d3daf1 [examples] get type info final program fully building Allen Webster 2021-09-25 17:44:23 -07:00
  • 3f5d4a96a9 [bld] setup new feature for include path management Allen Webster 2021-09-25 17:37:33 -07:00
  • 70e630cab6 more styl consistency Allen Webster 2021-09-25 17:01:24 -07:00
  • f65aa9f76f style consistency pass Allen Webster 2021-09-25 16:50:55 -07:00
  • e74ddc0f27 remove GetCap Allen Webster 2021-09-25 16:45:53 -07:00
  • 4657327976 override for arena cap getter ryanfleury 2021-09-24 20:47:23 -06:00
  • 6ba42a67e6 make sprintf an overrideable ryanfleury 2021-09-24 19:09:46 -06:00
  • c73e6961a5 for real this time ryanfleury 2021-09-24 18:57:32 -06:00
  • 612fad86cf allow optional include of stb sprintf ryanfleury 2021-09-24 18:56:25 -06:00
  • cdb170bb86 [examples] generate types and function decarations Allen Webster 2021-09-24 16:41:26 -07:00
  • 1644c02d47 [examples] arrange notes for next time Allen Webster 2021-09-19 17:29:34 -07:00
  • 426de7ca2e [examples] enum member lists Allen Webster 2021-09-19 17:26:51 -07:00
  • f0ca7effc5 [examples] struct member lists Allen Webster 2021-09-19 16:56:39 -07:00
  • 2be6caf79a [examples] rearrange examples to give big examples their own folder; add hand written files for type info example Allen Webster 2021-09-19 16:28:06 -07:00
  • 0a07520fac reserve-commit-chain arenas Allen Webster 2021-09-17 18:07:38 -07:00
  • cbd755852d Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev Allen Webster 2021-09-17 00:48:13 -07:00
  • b6cbff2eb1 tidying up naming scheme and parameters in helper inspection API; [examples] sketch of type metadata example Allen Webster 2021-09-17 00:48:06 -07:00
  • 1b31e6f41d work/tests for reconstruction string' Ryan Fleury 2021-09-17 01:06:57 -06:00
  • 4a8f470149 remove generate flags from reconstruction string gen Ryan Fleury 2021-09-16 23:58:38 -06:00
  • fd191a3181 Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev Allen Webster 2021-09-16 22:52:39 -07:00
  • 7d82d4f0ef [examples] custom user errors Allen Webster 2021-09-16 22:52:29 -07:00
  • 424bd25508 treat all cmd line options after a -- as plain inputs Ryan Fleury 2021-09-16 23:36:17 -06:00
  • 07ff2afa72 set implicitly-delimited separator set node flags correctly Ryan Fleury 2021-09-16 23:31:28 -06:00
  • bd754c1816 zero-init Ryan Fleury 2021-09-16 22:44:52 -06:00
  • 49e7e19364 merge Ryan Fleury 2021-09-16 22:14:09 -06:00
  • d9e5655564 fix impl names of string gen functions Ryan Fleury 2021-09-16 22:13:32 -06:00
  • 39f3d50419 MERGE Allen Webster 2021-09-16 20:07:41 -07:00
  • 883c384e38 [examples] hello_world.c first pass; parse check touch ups; API touch ups Allen Webster 2021-09-16 19:56:02 -07:00
  • 593da9bf99 parse node set in header Ryan Fleury 2021-09-16 20:56:19 -06:00
  • c04b7dd04d eliminate ParseTagList and redundant parse result fields Ryan Fleury 2021-09-16 20:40:06 -06:00
  • 0288b025f8 inline parse tag list call; fix uninitialized memory in string copy Ryan Fleury 2021-09-16 20:36:13 -06:00
  • e11ddda2fb [examples] sets, separators, & tags example (first pass) Allen Webster 2021-09-13 18:59:37 -07:00
  • e5c9b49c83 [examples] write labels.mdesk with examples of labels Allen Webster 2021-09-13 18:09:38 -07:00
  • feafba93f3 tidy up the reference macro, rename dereference function; [examples] tidy up the commentary about for loop macros Allen Webster 2021-09-13 17:21:12 -07:00
  • b83546a60a [expr parser] More tests. Miguel Lechon 2021-09-12 19:55:14 +02:00
  • 9cc8f80abe [expr parser] Column information on parse errors. Miguel Lechon 2021-09-12 14:05:39 +02:00
  • 4f4fb0f7f9 [expr parser] Move acceleration into parse context. Miguel Lechon 2021-09-12 11:12:26 +02:00
  • aad96bf978 [expr parser] Detect premature end of expression. Miguel Lechon 2021-09-11 11:21:34 +02:00
  • ba372c135f [examples] rearrange; add hello_world.mdesk example file Allen Webster 2021-09-10 15:54:39 -07:00
  • 39b30d9276 [examples] finish first draft commentary in parse_check.c Allen Webster 2021-09-10 15:26:21 -07:00
  • 6dd7acb1a2 iterating on debug dump and reconstruction API details Allen Webster 2021-09-10 14:46:41 -07:00
  • a3e8c90b67 [examples] filling in notes in the parse_check.c example; upgrading the datadesk_like_template a bit Allen Webster 2021-09-10 14:34:23 -07:00
  • aeaa8b1154 wrap the prev/next comment members for future upgrades Allen Webster 2021-09-10 13:20:26 -07:00
  • 28fc6e6799 a strong sorting system in md.h Allen Webster 2021-09-10 13:10:09 -07:00
  • da7284f5ec [examples] edit the datadesk-like example Allen Webster 2021-09-10 13:01:13 -07:00
  • b2c901d60f [expr parser] Brace/bracket unary op required for set leaves. Miguel Lechon 2021-09-09 12:48:04 +02:00
  • c0a50bfe27 Discard and warn against conflicting expression operators. Miguel Lechon 2021-09-09 12:21:03 +02:00
  • c6c790e50d expression parser; first pass. Miguel Lechon 2021-09-07 18:16:57 +02:00
  • c0a56dbcda tweak expression parser interface. Miguel Lechon 2021-09-03 13:12:06 +02:00
  • b5f9186786 Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev Allen Webster 2021-09-02 19:49:18 -07:00
  • eef0ff2577 better lexer testing in sanity_tests Allen Webster 2021-09-02 19:49:09 -07:00
  • 213c20fd93 update lexer to new symbol parsing rule Allen Webster 2021-09-02 19:34:28 -07:00
  • 5a1462faee clean house on old examples; sketch out outline for new examples Allen Webster 2021-09-02 19:29:40 -07:00
  • cae86313c6 rename examples build/run scripts Allen Webster 2021-09-02 18:52:05 -07:00
  • 47b5e0bf72 rename samples to examples; delete dead build scripts Allen Webster 2021-09-02 18:49:34 -07:00
  • f26bbc2c37 remove dead files md_posix.c, todo.txt Allen Webster 2021-09-02 18:40:29 -07:00
  • ad07656a48 partial docs pass ryanfleury 2021-09-02 03:54:46 -06:00
  • 131876018a expression parser skeleton (look for @expr_parser comments) Allen Webster 2021-09-01 21:12:55 -07:00
  • a2766a2e0c clean up old samples; mark md_c_helpers with an error; remove c helper tests Allen Webster 2021-09-01 19:01:27 -07:00
  • 4452663046 make print helpers optional Allen Webster 2021-08-27 14:55:32 -07:00
  • abf9ca40b1 memset/memmove overrides Allen Webster 2021-08-25 09:17:00 -07:00
  • 52f975fb8b fix some bugs with new build script Allen Webster 2021-08-24 21:42:38 -07:00
  • 78bfd000d4 min/max macros Allen Webster 2021-08-24 21:16:33 -07:00
  • 5ef50bd3df new explicit build script diagnostic system; overrides system; move old build script content onto new system; reconfigure project.4coder Allen Webster 2021-08-21 23:15:51 -07:00