Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard Library: INI, YML/YAML #538

Open
well-in-that-case opened this issue Dec 10, 2023 · 4 comments
Open

Standard Library: INI, YML/YAML #538

well-in-that-case opened this issue Dec 10, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@well-in-that-case
Copy link
Member

No description provided.

@well-in-that-case well-in-that-case added the enhancement New feature or request label Dec 10, 2023
@Sainan
Copy link
Member

Sainan commented Dec 11, 2023

This really should be 3 issues instead of 1.

  • INI: Might be worthwhile to consider TOML, instead, due to being pretty similar but actually having a formal spec.
  • XML: Should be pretty easy by using soup::xml, although it's missing an encoder.

@well-in-that-case
Copy link
Member Author

well-in-that-case commented Dec 12, 2023

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
Copy link
Member

Sainan commented Dec 12, 2023

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
Copy link
Member

Sainan commented Feb 13, 2024

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.

@Sainan Sainan changed the title Standard Library: INI, YML/YAML, XML Standard Library: INI, YML/YAML Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants