PlutoLang / Pluto

A superset of Lua 5.4 with a focus on general-purpose programming.
https://pluto-lang.org
MIT License
389 stars 24 forks source link

Standard Library: INI, YML/YAML #538

Open well-in-that-case opened 11 months ago

Sainan commented 11 months ago

This really should be 3 issues instead of 1.

well-in-that-case commented 11 months ago

INI is too common of a format. There is going to be versions of it we can't support because of the lack of specification — there's some really cursed ones out there — but I'm fine with TOML alongside it.

This is fine as one issue too, it's all solutions working towards one major problem: the lack of data format parsers (minus json).

Sainan commented 11 months ago

If you're fine with not being able to support "all versions of it", then I think you'd be fine with adding TOML instead of INI. We could document it as "TOML/INI" so users will know what's up.

Sainan commented 9 months ago

Upon further investigation, it seems TOML is not a superset of INI as I initially thought. Of course, we'd still have the issue of many INI dialects existing in the wild, but I hope some configurable options can address that.