I am, indeed, that bitch.
https://codeberg.org/cgranade/mini/src/branch/main/README.md
I am, indeed, that bitch.
https://codeberg.org/cgranade/mini/src/branch/main/README.md
Anyway, use node-based languages like KDL and XML when you can, they're better than key-value serialization formats when you're dealing with sequences of heterogenous nodes!
If you're looking for JSON with comments, try YAML! You probably don't need this repo!
But if you do need something ini-like, well, I will try to be that bitch as much as is helpful.
Neither the idea to do this nor for the name are mine. I didn't mention the very kind person who made those suggestions as I'm not sure whether they wanted to be credited on a toot announcing that I am that bitch.
I reserve the right to edit the above to add credits and citations, but in the meantime, thank you for the ideas and suggestions! ♥
Other things I should probably look at when I have time: un-NIH-ing character class definitions. E.g. TOML defines whitespace as U+0009 or U+0020, rather than checking for `White_Space=y` in UAX 44 data. The definition of `White_Space` is explicitly intended for programming language use!
@xgranade mine was much simpler by design, it actually just aimed to be like ini but with stronger definitions, for example...
# comment!
[something]
absolutely = yes yes
not_trimmed = " oops!"
something_else = 12345
hex_values = 0x56AB
[something.subsection]
wonderful = true
not_wonderful = true
"this is a key" = "and this is a value"
binary = 0b10110101
octal = 0o1234
the idea wasn't to extend upon what ini can inherently do but just to make it actually well defined, since I've seen like 90 different versions of this format already in the wild lol
@xgranade my thing solves it by just trimming all extra whitespace on the sides, and having optional quotes for avoiding that
it also defines a set of valid characters that can be used for the name
i should... try reimplementing this actually
There are 14 competing standards
(JK, this seems pretty cool)

At @nex3's [suggestion](https://mastodon.social/@nex3/116059875387327879), a more easily searchable name than **mini** might be useful, so I wanted to open an issue to workshop / brainstorm on possible alternatives. I'm most interested in adopting alternatives that don't use any people's names an...