Go to file
nyx f39fede52a Add README 2023-06-17 05:42:42 +02:00
src finishing up parser 2023-06-17 03:13:03 +02:00
test finishing up parser 2023-06-17 03:13:03 +02:00
.gitignore feat: basic lexer and test 2023-06-17 03:13:03 +02:00
README.md Add README 2023-06-17 05:42:42 +02:00
dune-project feat: basic lexer and test 2023-06-17 03:13:03 +02:00
hcfg.opam feat: basic lexer and test 2023-06-17 03:13:03 +02:00

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" },
}