Commit Graph

105 Commits

Author SHA1 Message Date
ryanfleury e1f5953598 reorder node flags, so that after-from-before is always the same 2021-06-24 22:58:27 -06:00
ryanfleury 647dd40a0f kill char literal 2021-06-24 22:57:06 -06:00
ryanfleury 4b8d2c3ade oops; also add zero-allocator macro 2021-06-24 22:52:47 -06:00
ryanfleury a533b75ce4 publicify canonical conversion helper 2021-06-24 22:49:58 -06:00
ryanfleury 4b231f0724 kill ctx node building helper 2021-06-24 22:48:24 -06:00
ryanfleury d1fe089804 bugfix; build dummy root node for error marker nodes, to ensure that they have an accurate way to tell their location 2021-06-24 22:46:56 -06:00
ryanfleury 9175305b08 rely on tree root for filename 2021-06-24 22:12:17 -06:00
ryanfleury 8f8c5cb9d7 move to _COUNT instead of _MAX 2021-06-24 21:52:22 -06: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 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 c3ec42c70c [api] cut subtle wrapper node constructors 2021-06-05 22:56:35 -07:00
Allen Webster 6450cd703c [impl] test for string contents; reduce all string lexing; notes about delimiter error tokens 2021-06-05 22:40:43 -07:00
Allen Webster 19cdec56cd [api] decompose error pushing functions; expose to main API 2021-06-05 21:47:47 -07:00
Allen Webster d1896fc74b [api] decompose the message printing API by one notch 2021-06-05 21:02:51 -07:00
Allen Webster d0c9167eb6 [impl] reduce two node construction helpers to one; note about how to reduce the one helper with the root/file node concept 2021-06-05 20:52:43 -07:00
Allen Webster be42d5d126 [namespace] brainstorm namespace fix ideas 2021-06-05 18:53:43 -07:00
Allen Webster 8e1b38e21f [namespace] uncovered bug in parser; added test case for namespaces 2021-06-05 18:27:02 -07:00
ryanfleury d5d3b85492 fix checked in merge conflicts 2021-05-25 18:35:33 -06:00
Allen Webster c1efce845d merge 2021-05-21 18:02:46 -07:00
Allen Webster b7252121fe cleanup; map interface idea 2021-05-21 17:53:20 -07:00
Ryan Fleury 5f3528bea5 re-order md_impl; keep everything in same order as header file 2021-04-24 16:20:31 -06:00
Ryan Fleury 30187151ec toy language sample; fix a couple of bugs 2021-04-24 16:07:34 -06:00
Ryan Fleury 9c0babe0a6 node flags seeking helper 2021-04-24 12:56:02 -06:00
ryanfleury 5629c0c995 command line helper pass 2021-04-23 14:30:21 -06:00
Allen Webster 78c9d8467d remove the unused root first/last from parse ctx 2021-04-17 02:24:51 -07:00
Allen Webster b915615716 more arranging functions; MD_MakeNode 2021-04-17 01:26:39 -07:00
Allen Webster a5fe806f9e start arranging for more functions to be public; simplify set parse function 2021-04-17 01:08:05 -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 87bd1cd6de sort out types only needed in the C helpers 2021-04-16 18:27:08 -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 28ea290661 remove MD_JoinStringListWithSeparator, just have separator argument in MD_JoinStringList; helper for making node references 2021-04-11 21:29:35 -06:00
ryanfleury 1b89d3cc90 docs work; clean up TODO list; add TODOs for a couple of helpers and changes 2021-04-11 21:20:51 -06:00
ryanfleury 6dc8487965 combine StringMatchFlags and NodeMatchFlags into MD_MatchFlags 2021-04-01 22:21:46 -06:00
Allen Webster e1c0656e73 [plugin macros] clean up all usage of context; also document a few more things 2021-03-30 21:23:05 -07:00
Allen Webster cc38ed2c96 [main] fix initializer of MD_Node 2021-03-30 20:52:22 -07:00
Allen Webster c30090c483 [docs] documentation of MD_Node 2021-03-30 19:02:00 -07:00
Allen Webster e38dbca401 [docs] document node kinds and flags; couple random tweaks 2021-03-30 18:19:26 -07:00
Miguel Lechon c38bc6de30 [namespaces] Build namespaces as lists of reference nodes. 2021-03-29 17:51:36 +02:00
Miguel Lechon 230fd4043c Improve location of MD_Error. 2021-03-27 18:14:17 +01:00
Miguel Lechon 6478fb24c1 Error for MD_ParseWholeFile of missing file. 2021-03-27 15:47:54 +01:00
Miguel Lechon 8ab96ecaea Simpler MD_Error.
The catastrophic error flag is now subsumed under MD_MessageKind.
The filename member is accessible through the compulsory node pointer.
2021-03-23 11:44:37 +01:00
Miguel Lechon 20f85761c7 [map] Expose PtrMap on md.h. Remove NodeTable defines. 2021-03-22 15:45:36 +01:00
Allen Webster 560be2c42a [base] remove the wrapper FindLastSubstring 2021-03-21 21:32:22 -07: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