mourner / yeahml

A tiny subset of YAML for JavaScript
8 stars 0 forks source link

Switch to NestedText? #1

Open mourner opened 4 years ago

mourner commented 4 years ago

I just stumbled upon a very similar initiative — https://nestedtext.org, but instead of adopting a strict YAML subset, it goes even further, lightly breaking compatibility with YAML in favor of an even simpler syntax & spec. I think switching this project to NestedText format (and maybe renaming accordingly) is definitely worth considering. Advantages:

Thanks @KenKundert @kalekundert for such a nice project!

kalekundert commented 4 years ago

We're really interested in getting NestedText implementations for languages other than python, so if you're thinking about writing one for javascript, we'd be happy to help in any way we can (e.g. if you find any ambiguities we overlooked, or have issues with the test suite, etc).

KenKundert commented 4 years ago

And we would be happy to feature your project on the nestedtext.org website.

mourner commented 4 years ago

Great! I started experimenting with a proof of concept parser and so far I love how unambiguous it is — each line can be quickly categorized when tokenizing, making parsing very simple, fast and easy to reason about.