sublime-hjson
sublime-hjson | yaml-grammar | |
---|---|---|
1 | 3 | |
10 | 61 | |
- | - | |
10.0 | 0.0 | |
over 5 years ago | over 1 year ago | |
Perl | ||
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sublime-hjson
-
No YAML
After evaluating several config file formats, I settled on JSON5 for work projects. Only issue for me is that sublime text doesn't have highlighting for it, though the hjson highlighting from package control works well enough. I should write one for JSON5...
Ironically the file format for sublime highlighting plugins is in YAML.
https://github.com/hjson/sublime-hjson/blob/master/Hjson.sub...
yaml-grammar
-
Dealing with Yaml files
I second that. YAML is a terrible format, to the point that the official repository says it's almost impossible to parse (see for yourself: https://github.com/yaml/yaml-grammar).
- ce proiecte aveti pe github / ce ati facut pana acum?
-
No YAML
It used an off-the-shelf library, I don't remember which one anymore. I don't think it really matters though -- YAML is a format, not a parser.
Per the YAML docs [0], "Creating a fully compliant parser has proven almost impossible." Pretty much every YAML parser out there is going to have its own idiosyncratic subset that it handles. That doesn't make them not-YAML.
(This does make YAML a horrible data exchange format. No argument there!)
[0]: https://github.com/yaml/yaml-grammar
What are some alternatives?
json5 - JSON5 — JSON for Humans
starlark-go - Starlark in Go: the Starlark configuration language, implemented in Go
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
kubeconform - A FAST Kubernetes manifests validator, with support for Custom Resources!
cue - CUE has moved to https://github.com/cue-lang/cue
50days50projects - These are samll projects that will lead to a bigger one
FastYaml - YAML Parser based on ANTLR parser generator
strictyaml - Type-safe YAML parser and validator.