Get the latest tech news

CCL: Categorical Configuration Language


Dmitrii Kovanikov's Personas Web Space

Hocon People write too much configs, so let’s add some string interpolation but let’s make it half-baked, so it’s still doesn’t solve 95% of real-world use cases. To handle nested values easily, the CCL parser implementation remembers the number of spaces N in front of the first key and follows two simple rules: So now, we easily combine multiple similar keys and join their values on all levels of nestedness with checks notes with just 10 lines of OCaml.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of CCL

CCL