Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the spec concrete already #77

Open
benjamin-rood opened this issue May 7, 2018 · 5 comments
Open

Make the spec concrete already #77

benjamin-rood opened this issue May 7, 2018 · 5 comments

Comments

@benjamin-rood
Copy link

benjamin-rood commented May 7, 2018

Quote:

Currently this specification is casual, as we gather feedback from implementors. A more rigorous e.g. BNF will follow.

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.

@bfontaine
Copy link

bfontaine commented Sep 27, 2019

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.

@avodonosov
Copy link

This issue is a duplicate of the #56

@benjamin-rood
Copy link
Author

@avodonosov Not really. This is about giving them a kick up the arse.

@Marti2203
Copy link

Hi. I am currently making an ANTLR grammar for this. Maybe it will be as good as having a BNF

@Marti2203
Copy link

antlr/grammars-v4#1831 Pull request to the main ANTLR repo for grammars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants