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

Formal UCL grammar definition #231

Open
ngortheone opened this issue Jul 1, 2020 · 5 comments
Open

Formal UCL grammar definition #231

ngortheone opened this issue Jul 1, 2020 · 5 comments

Comments

@ngortheone
Copy link

Is there a formal grammar definition for UCL? (e.g. *BNF)

@vstakhov
Copy link
Owner

vstakhov commented Jul 1, 2020

No, there isn't.

@ngortheone
Copy link
Author

how would one write an alternative parser implementation? How doe you know that the syntax is correct if there is no spec?

@vstakhov
Copy link
Owner

vstakhov commented Jul 1, 2020

(Shrugs) By reading the docs apparently.

@ngortheone
Copy link
Author

UCL is very close in spirit to HOCON

Someone had attempted to write grammar for hocon
https://gist.github.com/01010101lzy/13fb644218f6c44b6492703a32343abb

Maybe it can be used as a starting point?

@vstakhov
Copy link
Owner

vstakhov commented Jul 1, 2020

Yes, that might probably be used. Who volounteers to adopt it?

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

2 participants