Add README
parent
de30d605f6
commit
f39fede52a
@ -0,0 +1,23 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
```hcfg
|
||||||
|
{
|
||||||
|
// 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" },
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in New Issue