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
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
ryanfleury
055c152279
update usage of tree outputter
2021-06-29 20:43:58 -06:00
ryanfleury
647dd40a0f
kill char literal
2021-06-24 22:57:06 -06:00
ryanfleury
9175305b08
rely on tree root for filename
2021-06-24 22:12:17 -06: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
c3ec42c70c
[api] cut subtle wrapper node constructors
2021-06-05 22:56:35 -07:00
ryanfleury
714cb85824
fix samples/tests for removal of JoinStringListWithSeparator helper
2021-04-12 13:21:19 -06:00
Miguel Lechon
c38bc6de30
[namespaces] Build namespaces as lists of reference nodes.
2021-03-29 17:51:36 +02:00
Miguel Lechon
20f85761c7
[map] Expose PtrMap on md.h. Remove NodeTable defines.
2021-03-22 15:45:36 +01:00
Miguel Lechon
eef82b0554
Pipe error location through error->node.
2021-03-18 17:40:06 +01:00
Miguel Lechon
6026c3639d
Remove MD_Map aliases.
2021-03-16 19:15:48 +01:00
Miguel Lechon
7645afbcc1
[grammar test] Store production depth on MD_PtrMap.
2021-03-16 11:20:18 +01:00
Miguel Lechon
fed011fc52
Switch to map_proposal.
2021-03-16 11:11:13 +01:00
Miguel Lechon
eb0cf0c9bf
MD_Node->at fix.
...
node->at now points to the first relevant character in the source .md file.
For namespaces and tags that is the first character of the identifier
(not the '#'/'@' symbols).
For labels it's the first character in node->whole_string if non-empty.
For unlabeled sets it's the opening '(', '[' or '{' character.
2021-03-16 09:19:02 +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
701b77e118
Parsing errors for unbalanced sets and text literals.
2021-03-10 18:32:29 +01:00
Miguel Lechon
35ef98a5fd
Sync build scripts.
2021-03-09 18:12:34 +01:00
Miguel Lechon
2d22fc17d5
[grammar test] Remove malformed tagging. Give up on comments.
2021-03-08 20:02:27 +01:00
Miguel Lechon
61f9149a2b
[grammar test] before_comment.
2021-03-04 15:21:55 +01:00
Miguel Lechon
71d5235f81
[grammar test] Fairly complete test grammars.
2021-02-22 14:55:39 +01:00
Miguel Lechon
a2066a0c58
[grammar test] Limit the depth of generated tests.
2021-02-21 19:12:30 +01:00
Miguel Lechon
c5d88b890b
[grammar test] Extra set delimiters and separators.
...
Delimiters: Square brackets and parentheses.
Separators: Commas and semicolons
2021-02-17 12:05:56 +01:00
Miguel Lechon
35c802deae
[grammar test] Sort tests by increading complexity.
2021-02-17 08:13:24 +01:00
Miguel Lechon
50d6f7cd64
[grammar test] Labeled nodes and tag parameters.
2021-02-16 19:35:24 +01:00
Miguel Lechon
e2920e565b
Partial MD grammar test.
2021-02-13 19:57:59 +01:00