Open BrianSipos opened 3 years ago
That is a feature of EDN that apparently did not make it into the implementation yet. This is not too hard to do, so I expect getting to it within a month or so.
+1
FYI: This is also preventing me from using diag2cbor.rb and diag2pretty.rb directly with examples in Internet-Drafts (because I am trying to make my examples narrow enough to fit in 72 characters).
This is also preventing me from using diag2cbor.rb and diag2pretty.rb directly with examples in Internet-Drafts (because I am trying to make my examples narrow enough to fit in 72 characters).
Hi Rohan,
thank you, that is very useful input.
I have prototyped the new ABNF in the edn-abnf tool (gem install edn-abnf).
I waited with updating the cbor-diag tool (and thus also cbor.me) as I didn't want to destabilize that tool set.
Given that we seem to be converging, I could now integrate the edn-abnf parser updates into the cbor-diag code base.
I will try using the edn-abnf tool.
If there is anything missing in edn-abnf that you need for that, please holler.
The definition in Section G.4 of RFC8610 allows whitespace-separated
tstr
andbstr
fragments to be treated as one whole concatenated value. When I attempt to use this with the tooldiag2pretty
I get an error shown below. This also happens if the whitespace includes newlines, which is what I was originally trying to do.