▲ | poly2it 16 hours ago | |||||||||||||||||||||||||||||||||||||
The author of this language seems to have responded with AI-generated arguments in response to all questions linked in the FAQ section. This does not inspire much confidence for the design of the language. Really, I do not see the point of this. These configuration languages are just different syntaxes for expressing the same fundamental data, bearing the same semantics. It would be much more interesting to see a language which experiments with what is fundamentally representable, for example like how the Nix language supports functional programming and has functions as a first-class data type. | ||||||||||||||||||||||||||||||||||||||
▲ | LelouBil 8 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
I started experimenting with Cue https://cuelang.org/ (for Kubernetes mostly, though I also used their tasks features) and it is wonderful! If you squint it looks and works like a functional programming language, but instead of actually being one (like Dhall for example) it simply looks like configuration : keys and values. The "types are values" and "values defined multiple times must unify" rules are really simple, and enable easy comprehension of what's happening and are powerful enough without it being a full blown programming language. In a way it kinda reminds me of the TypeScript structural type system in the ways you manipulate types like values, which I like as well. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
▲ | hgs3 15 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
> It would be much more interesting to see a language which experiments with what is fundamentally representable You might checkout my project, Confetti [1]. I conceived of it as Unix configuration files with the flexibility of S-expressions. I think the examples page on the website shows interesting use cases. It doesn't have a formal execution model, however, for that you might checkout Tcl or Lua. | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
▲ | zzo38computer 16 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
> These configuration languages are just different syntaxes for expressing the same fundamental data, bearing the same semantics. This is my complaint too. However, they do add a proper integer type, which is the only thing that they do change with the data, as far as I can tell. > It would be much more interesting to see a language which experiments with what is fundamentally representable DER (and TER, which is a text format I made up to be compiled into DER (although TER is not really intended to be used directly in application programs); so TER does have comments, hexadecimal numeric literals, and other syntax features) does support many more data types, such as arbitrarily long integers, ASCII, ISO 2022, etc. My own extension to the format adds some additional types, such as a key/value list type and a TRON string type; the key/value list type is the only nonstandard ASN.1 type needed (together with a few of the standard ASN.1 types: sequence, real, UTF-8 string, null, boolean) to represent the same data as JSON does. > for example like how the Nix language supports functional programming and has functions as a first-class data type. For some applications this is useful and good but in others it is undesirable, I think. | ||||||||||||||||||||||||||||||||||||||
▲ | sedatk 16 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
> AI-generated arguments in response to all questions There are currently two items in the FAQ. While the first one seems to be formatted with AI (I don't know if the arguments are AI generated though, how do you tell?), the other certainly doesn't look AI-generated: https://github.com/maml-dev/maml/issues/3#issuecomment-33559... | ||||||||||||||||||||||||||||||||||||||
|