| ▲ | SOML – A Config Format for Humans(github.com) | |||||||
| 19 points by microflash an hour ago | 10 comments | ||||||||
| ▲ | james_marks 5 minutes ago | parent | next [-] | |||||||
From the title, I thought this was a specification for configuring humans. I don't quite know what that means, and I'm disappointed still not to know. | ||||||||
| ▲ | lightandlight 14 minutes ago | parent | prev | next [-] | |||||||
Ironically the project seems LLM-generated. I don't want to read Claude's interpretation of why your project matters. I want you to tell me directly. | ||||||||
| ▲ | CodesInChaos 33 minutes ago | parent | prev | next [-] | |||||||
What I'm missing: 1. The readme doesn't make it clear what its "float" type is. A double, a decimal, implementation defined. I'm generally not a fan of restricting numbers to what a double can represent, like toml does. 2. It doesn't have a good way to model key-value pair like types such as tagged unions, polymorphic types, or function invocations. Simply allowing a key-value pair as a value (right associative) where the key is a string matching the keys of an object would fix this. Alternatively a function call syntax would fix this, which would also enable tuples as a concept distinct from arrays. | ||||||||
| ▲ | jll29 40 minutes ago | parent | prev | next [-] | |||||||
Looks like Windows *.ini format except ":" instead of "="... | ||||||||
| ||||||||
| ▲ | drvd 35 minutes ago | parent | prev | next [-] | |||||||
So a stripped down variant of cue? Why not use cue directly? | ||||||||
| ||||||||
| ▲ | esafak 41 minutes ago | parent | prev | next [-] | |||||||
Can you add README sections for the schema and supported types? | ||||||||
| ▲ | arionmiles 38 minutes ago | parent | prev | next [-] | |||||||
See also: HUML [1] | ||||||||
| ▲ | paulddraper an hour ago | parent | prev [-] | |||||||
> Top-level arrays. A TOML file is always a table, so a list of records needs a wrapper key. I'm curious for example configs that are top-level lists? | ||||||||