Show HN: SANE – The Safe and NEeded TOML/YAML Alternative(opensource.bloom.sh)
opensource.bloom.sh
Show HN: SANE – The Safe and NEeded TOML/YAML Alternative
https://opensource.bloom.sh/sane
2 comments
hi, it's a matter of consistency.
It has been discussed here: https://github.com/bloom42/sane/issues/3
TL;DR: modern languages (Rust, Scala... except Go) use spaces. Allowing both will cause pain. And if in the future Tabs alongside spaces is really needed, It can be added in a non-breaking release, while allowing then disallowing tabs if they cause too much pain is non backward compatible.
It has been discussed here: https://github.com/bloom42/sane/issues/3
TL;DR: modern languages (Rust, Scala... except Go) use spaces. Allowing both will cause pain. And if in the future Tabs alongside spaces is really needed, It can be added in a non-breaking release, while allowing then disallowing tabs if they cause too much pain is non backward compatible.
Hi author here,
I've been developing an open standard since some time to replace the ugliness of YAML and TOML and the flaws of JSON for configurations files.
Configuration files (Human to machine) have some needs that TOML/YAML do not satisfy (clarity, tooling/linting friendliness, consistency, safety, parsers friendliness...) and JSON neither (as it was designed to be mahcine to machine it does not have comments, have null...).
It's currently used in production with success.
Here is the website for the standard: https://opensource.bloom.sh/sane
Here is the repo for the standard: https://github.com/bloom42/sane
and here is the repo for the Go parsing library: https://github.com/bloom42/sane-go
Going shortly towards a v1.0 any feedback is welcome.
I've been developing an open standard since some time to replace the ugliness of YAML and TOML and the flaws of JSON for configurations files.
Configuration files (Human to machine) have some needs that TOML/YAML do not satisfy (clarity, tooling/linting friendliness, consistency, safety, parsers friendliness...) and JSON neither (as it was designed to be mahcine to machine it does not have comments, have null...).
It's currently used in production with success.
Here is the website for the standard: https://opensource.bloom.sh/sane
Here is the repo for the standard: https://github.com/bloom42/sane
and here is the repo for the Go parsing library: https://github.com/bloom42/sane-go
Going shortly towards a v1.0 any feedback is welcome.
Why not allow tabs?