Description
Confetti is a configuration file format meant to be written and edited by people. It combines the readability of classic Unix configuration files with the flexibility of S-expressions, and it is minimal, untyped and unopinionated: checking that a file matches a schema is left to the application that reads it. Its author positions it as a replacement for INI files rather than a competitor to JSON or XML, and contrasts its short specification, learnable in minutes, with complex formats like YAML. The syntax is composable, so it can be used for simple settings, custom text file formats or lightweight scripting. Implementations exist for C, Go, Java, Python and Rust, and new ones can be checked against an official conformance test suite. It was created by Henry and is open source.…
Highlights
- Readable syntax inspired by Unix config files and S-expressions
- Untyped and unopinionated, with schema checks left to the app
- Short specification you can learn quickly
- Implementations in C, Go, Java, Python and Rust
- Official conformance test suite
Ratings & Reviews
No ratings yet
Be the first to rate Confetti Configuration Language.
People also visit
KSON.org
KSON - A love letter to the humans maintaining computer configurations
Confetti Configuration Language FAQ
What is Confetti?
A minimal, untyped configuration language for human-editable files, combining Unix-style config readability with S-expression flexibility.
Does it replace JSON or YAML?
It is aimed at INI-style configuration rather than competing with JSON or XML, and keeps its specification far smaller than YAML's.
Which languages can read it?
There are implementations for C (libconfetti), Go, Java (jconfetti), Python (pyconfetti, cconfetti) and Rust (confetti-rs).
Can I write my own parser?
Yes. Review the specification and test it against the official conformance test suite.
What are the best Confetti Configuration Language alternatives?
Popular alternatives to Confetti Configuration Language include KSON.org, Duper and Pkl. See all Confetti Configuration Language alternatives










