nyx f39fede52a | ||
---|---|---|
src | ||
test | ||
.gitignore | ||
README.md | ||
dune-project | ||
hcfg.opam |
README.md
HCFG
HCFG is a configuration format meant to be usable without sacrificing familiarity, it does this by expanding on the syntax of JSON, allowing for extra features such as
- Trailing commas
- Comments
- Binary data
- Unquoted keys
Example
{
// test
key: "value",
/* this is a comment */
other_key: 100,
floating: 123f,
other_float: 123.3,
bin: b"test",
arr: [1,2],
nested: { key: "not trailing" },
}