Open benjamin-rood opened 6 years ago
Ping on that.
I’m contributing to the most complete EDN parser in Python that I know of (edn_format
) but the spec is too vague and clojure.edn/read-string
accepts a lot more than what’s defined here. It’s really hard to properly implement a parser with no formal spec.
We can’t seriously use EDN outside of the Clojure world without a proper grammar.
This issue is a duplicate of the #56
@avodonosov Not really. This is about giving them a kick up the arse.
Hi. I am currently making an ANTLR grammar for this. Maybe it will be as good as having a BNF
https://github.com/antlr/grammars-v4/pull/1831 Pull request to the main ANTLR repo for grammars.
Quote:
Perhaps it's time to just write the BNF? Please?
It makes it much harder to advocate for the use of EDN without this sort of thing, especially if we're not a Clojure shop.