Neon encoder/decoder for go[lang]
- mishak
- Member | 94
Ahoj,
I plan on working on this starting next month any help is welcome. I think NEON is perfect format for configuration and implementing it in go (language of choice not only for devops) could expand its popularity.
After brief research I found no syntax specification that can be generated into syntax parser. There is some text and few tests. Is anyone willing to write full specification? It would be beneficial for future implementers and to keep track of changes and extensions.
repo: https://github.com/…ak87/go-neon
Last edited by mishak (2014-11-25 21:21)
- Filip Procházka
- Moderator | 4668
@mishak full spec would be awesome. There already is something in nette/neon repo, but I'm not sure if it's the complete grammar. But most of the syntax features can be deduced from neon tests.
Also AFAIK @matej21 wrote alternative for node.js.
- Jan Tvrdík
- Nette guru | 2595
No, there is no complete grammar. Yes, I intent to write one, mostly to fix some edge cases in PhpStorm's plugin.
- David Matějka
- Moderator | 6445
@DavidKudera here is my version :)
@JanTvrdík i've already fixed few bugs: https://github.com/…s/fix/parser
- Jan Tvrdík
- Nette guru | 2595
@DavidKudera, @matej21 both of those are useless for @mishak as they are not based on a formal grammer (e.g PEG) but written manually. That makes them prone to error and unportable.