nestedtext
ron
nestedtext | ron | |
---|---|---|
8 | 24 | |
335 | 3,128 | |
- | 1.6% | |
7.9 | 7.6 | |
6 days ago | 23 days ago | |
Python | Rust | |
MIT License | Apache License 2.0 |
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.
nestedtext
-
The yaml document from hell
As /u/astatine said, an excellent but under-recognized alternative syntax for configuration files is NestedText, where everything is a string unless the ingesting code says otherwise, and there is no escaping needed ever.
-
Yaml: First Class Citizen?
I don't know what traits from markdown you'd hope for, but for a relatively obscure but technically excellent format, you can check out NestedText.
-
A Nigthtmare called YML
I recently came to appreciate and favor an alternative format called NestedText. Like YAML, indentation is used for structure, so like YAML, you may hate it.
-
nt2: a CLI converter between NestedText and JSON, YAML, or TOML
I recently discovered NestedText, and really appreciate the design. To me, it hits the nail on the head where projects like strictyaml and hjson come very close.
-
YAML: It's Time to Move On
I'm glad to see people experimenting with alternative document/object representations, but this one might be a hard sell: based on the README[1], it only has Python, Zig and Janet implementations so far. One of the nice things about YAML (and JSON, TOML, etc.) is that they have decently mature C, C++, or Rust libraries that other languages bind to.
[1]: https://github.com/KenKundert/nestedtext
-
My two favorite things share the same love as me for YAML!
NestedText
-
Json alternatives
NestedText was left out. Has the feel of YaML, without all the complexity and user traps.
- KenKundert/nestedtext ... Human Readable and Writable Data Interchange Format
ron
-
XML is better than YAML
Whenever this kind of arguments come up, I am sad that RON (https://github.com/ron-rs/ron) is not better known. To me it feels like a cleaner and better JSON.
In any case, my little experience with it had made me hate YAML. Generally speaking, I have come to dislike any language with significant whitespace other than Haskell.
-
What config format do you prefer?
Part of the reason why I migrated away from RON in system76-scheduler is because I needed to rely on the 253-untagged-enums branch from https://github.com/MomoLangenstein/ron. Which still isn't resolved today: https://github.com/ron-rs/ron/pull/451.
-
Ron: Rusty Object Notation
Serde is strongly, strictly typed: you have to specify what type you want to decode to. It’s nothing like Python’s Pickle protocol.
See, for example, https://github.com/ron-rs/ron/blob/484fcab0686dfd18c7e29b6c1..., where it (in a type-inferency way) says “parse as Config”.
- JSON vs. XML with Douglas Crockford
- Ron – Rusty Object Notation
- They're rebuilding the Death Star of complexity
What are some alternatives?
strictyaml - Type-safe YAML parser and validator.
toml.io - Source Code for toml.io
sublime-json5 - JSON5 support for Sublime Text
json5 - JSON5 — JSON for Humans
yaml-reference-parser
kdl - the kdl document language specifications
skycfg - Skycfg is an extension library for the Starlark language that adds support for constructing Protocol Buffer messages.
minimal-yaml - A minimalist, zero-copy parser for a strict subset of the Yaml specification.
dhall-lang - Maintainable configuration files
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
typescript-json-schema - Generate json-schema from your Typescript sources