←back to thread

67 points hgs3 | 2 comments | | HN request time: 0.487s | source

Hello everyone, I created Confetti: a simple, typeless, and localization-friendly configuration language designed for human-editable configuration files.

In my opinion, JSON works well for data interchange, but it's overused for configuration, it's not localization-friendly, and it's too syntactically noisy. INI is simple but lacks hierarchical structures and doesn't have a formal specification. Confetti is intended to bridge the gap.

I aim to keep Confetti simple and minimalistic, while encouraging others to extend it. Think of it like Markdown for configuration files: there's a core specification, but your welcome to create your own variations that suit your needs.

1. M95D ◴[] No.43555481[source]
To author:

In the "Material Definitions" example there are no { }. Why not? What's the difference? Is indentation significant?

replies(1): >>43557995 #
2. hgs3 ◴[] No.43557995[source]
Indention is not significant. The example was supposed to demonstrate how you might use individual directives for pseudo-grouping. The example was inspired by premake [1] which takes this approach, but in Lua.

[1] https://premake.github.io/docs/Your-First-Script