Re:Enhanced Support for Citations on GitHub
by XorNot on Friday August 20, 2021 @11:23PM
(#28253880)
TOML is atrocious. In trying to look ini-like its table and nested structures become completely inscrutable.
I only ever deal with it by writing what I need in YAML and running a converter.
Re:Enhanced Support for Citations on GitHub
by encryptluks2 on Friday August 20, 2021 @11:56PM
(#28254040)
Agreed. I think HCL would make a nice replacement though.
Re:Enhanced Support for Citations on GitHub
by koolba on Friday August 20, 2021 @10:42PM
(#28253648)
What’s HCL?
Re:Enhanced Support for Citations on GitHub
by CobsterLock on Friday August 20, 2021 @10:49PM
(#28253679)
It seems to be a HashiCorp Configuration Language, HashiCorp being the creators/sponsors of terraform (I don't know much about terraform or hashicorp)
It is actually very easy to format correctly, unless you don't understand the format. While it may challenging to make a compliant parser, many exists for multiple languages.
JSON isn't a viable replacement.. TOML doesn't support root level lists and has its own set of challenges and is a lot more ugly and difficult to understand for complex nested structures.
If you want to kill YAML then replace it with HCL.