Commit Graph

49 Commits

Author SHA1 Message Date
ryanfleury f15fc77bfa introspection helper docs; remove redundant node-sibling helper; ensure that any of the introspection APIs doing string matching take match flags 2021-06-30 22:54:56 -06:00
ryanfleury 5358883431 get stb_sprintf working for MD_String8s 2021-06-30 12:47:53 -06:00
ryanfleury 097541c9b7 fix build errors; remove dumb non-working printf annotations; move C++ user-defined-literal thing into the header 2021-06-30 12:17:30 -06:00
Allen Webster 3648548cfe condense string flags 2021-06-30 14:09:32 -04:00
ryanfleury 665ae03d81 add parse checker sample 2021-06-29 20:43:58 -06:00
ryanfleury 2144f62e7e fix static site generator 2021-06-29 20:43:57 -06:00
Allen Webster 15aa4d5b32 flesh out string -> integer functions 2021-06-28 10:45:55 -04:00
Allen Webster 0d57e26ba5 finish the elimination of MD_PushSibling 2021-06-28 06:44:06 -04:00
Allen Webster 0724d0a910 merge 2021-06-27 10:21:41 -04:00
ryanfleury 9175305b08 rely on tree root for filename 2021-06-24 22:12:17 -06:00
Allen Webster 0832e601b7 cut namespaces 2021-06-12 10:17:14 -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 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
Allen Webster dd445676f5 [impl] passing over parser implementation (pass 1) 2021-06-05 23:39:26 -07:00
Allen Webster d1896fc74b [api] decompose the message printing API by one notch 2021-06-05 21:02:51 -07:00
ryanfleury d5d3b85492 fix checked in merge conflicts 2021-05-25 18:35:33 -06:00
Ryan Fleury 25a80c1def flesh out values in the toy language 2021-04-24 19:48:25 -06:00
Ryan Fleury 30187151ec toy language sample; fix a couple of bugs 2021-04-24 16:07:34 -06:00
Allen Webster b915615716 more arranging functions; MD_MakeNode 2021-04-17 01:26:39 -07:00
Allen Webster f52362ef2c rename C helper types; cleanup pass over everything related to C helpers 2021-04-16 19:24:17 -07:00
Allen Webster 366eebca00 unify c generator naming 2021-04-16 18:37:37 -07:00
Allen Webster 3c6cc0414d organize out C helpers 2021-04-16 18:17:46 -07:00
ryanfleury 714cb85824 fix samples/tests for removal of JoinStringListWithSeparator helper 2021-04-12 13:21:19 -06:00
ryanfleury 6dc8487965 combine StringMatchFlags and NodeMatchFlags into MD_MatchFlags 2021-04-01 22:21:46 -06:00
Allen Webster 4eaeaf5cd0 [docs] through the map types; add mkdir to namespaces build 2021-03-30 22:57:19 -07:00
Miguel Lechon 0945c9c71e [namespaces] Type versioning sample. 2021-03-29 17:57:38 +02:00
Miguel Lechon 20f85761c7 [map] Expose PtrMap on md.h. Remove NodeTable defines. 2021-03-22 15:45:36 +01:00
Allen Webster b24b0e0491 [map] fix header signature for StringMap 2021-03-21 20:49:16 -07:00
Allen Webster 369ebd7a62 [docs] catch up to new map integration; change function forward declarations for map 2021-03-21 20:40:43 -07:00
Miguel Lechon 96c3c46531 fopen with "wb" to avoid mixed LF/CRLF output on windows. 2021-03-18 10:12:55 +01:00
Miguel Lechon 6026c3639d Remove MD_Map aliases. 2021-03-16 19:15:48 +01:00
Miguel Lechon fed011fc52 Switch to map_proposal. 2021-03-16 11:11:13 +01:00
Allen Webster b72a53e84c copy over docs from the wrong repo; take out error/warning wrappers 2021-03-14 17:54:04 -07:00
Allen Webster a0ef78a49a trim -> skip/chop 2021-03-14 17:40:57 -07:00
Allen Webster 9fe3c0f09a string split cleanup 2021-03-14 17:37:30 -07:00
Miguel Lechon e3357f0759 Syntax error sanity tests. 2021-03-14 11:24:26 +01:00
Miguel Lechon e4fbe7a81d More parsing errors.
Invalid hash directives.
Invalid tag token.
Reserved characters.
2021-03-13 10:01:08 +01:00
Miguel Lechon 2829d0923b Report parse errors preceding catastrophic error. 2021-03-12 16:12:00 +01:00
Miguel Lechon 34c48c84ff Parsing error for "label:@tag{children}". 2021-03-11 21:08:38 +01:00
Miguel Lechon 72b7e3b366 And syntax error tests. 2021-03-11 17:15:22 +01:00
Miguel Lechon 701b77e118 Parsing errors for unbalanced sets and text literals. 2021-03-10 18:32:29 +01:00
ryanfleury 65e5f728b1 node errors sample 2021-03-09 09:42:43 -07:00
Miguel Lechon e7dfe525c5 Radix for MD_I64FromString. 2021-03-03 13:14:56 +01:00
Miguel Lechon 4a4f4db91a Make , and ; behave like \n as unscoped set delimiters. 2021-02-25 20:03:22 +01:00
ryanfleury 9253bd0de8 remove MD_NodeKind_UnnamedSet; simplify to MD_NodeKind_Label with zero-string 2021-02-09 08:11:07 -07:00
ryanfleury 9da8264116 add const and volatile to type exprs; fix tag list parsing bug, restrict '@'s to symbol tokens 2021-02-06 20:23:29 -07:00
ryanfleury e8af78ed4c MD_NodeTable_Insert preserve order 2021-01-29 12:18:56 -07:00
ryanfleury 5e48bf8693 C code generation sample, array expressions 2021-01-22 14:58:33 -07:00
ryanfleury 90fc1de709 Initial upload 2021-01-20 11:19:34 -07:00