News for hackers. Stuff that matters.
Re:TOML: Tom's Obvious Minimal Language by IshKebab on Sunday May 21, 2023 @03:30PM (#36024014)
> You don't

Great. Very obvious.

Re:TOML: Tom's Obvious Minimal Language by josephg on Sunday May 21, 2023 @04:20PM (#36024360)
As much as it pains me to say so, this is probably fine for configuration languages so long as they’re backwards compatible. Eg toml is used by rust’s cargo tool. Cargo can just say “hey Cargo.toml is parsed in toml version 1.1 format”.
Re:TOML: Tom's Obvious Minimal Language by IshKebab on Monday May 22, 2023 @02:02AM (#36027950)
How does your IDE and linter learn that?

In fairness it's probably not too bad as long as everyone actually migrates to the newest version eventually... But that isn't guaranteed - look at YAML. Or even JSONC. VSCode has a hard-coded lists of which `.json` files are actually JSONC. Gross.

Re:TOML: Tom's Obvious Minimal Language by afiori on Monday May 22, 2023 @02:47AM (#36028229)
YAML is way more complex and JSONC is not JSON 1.1