News for hackers. Stuff that matters.
Re:Typed Config Languages by dqpb on Friday January 21, 2022 @02:49PM (#30029009)
> Statically typed programming languages are catching on so why don’t we extend this typing to our config files?

What you really need is Cuelang. Cuelang does graph unification over a type-value lattice. This allows the user to do progressive type -> value refinement (e.g. type->range->value).

For configuration, this is both better than regular type systems, and better than inheritance.

There are no comments on this comment yet.