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

stdlib: Add a TOML library #2099

Open
spotandjake opened this issue Apr 22, 2024 · 0 comments
Open

stdlib: Add a TOML library #2099

spotandjake opened this issue Apr 22, 2024 · 0 comments
Labels

Comments

@spotandjake
Copy link
Member

spotandjake commented Apr 22, 2024

In grain v0.6.0 we added support for parsing, Json I think we should also support TOML in the stdlib. I implemented a mostly complete parser here: https://github.com/spotandjake/Grain-Toml which is a good base for a library but it will need some refactoring and will need to be finished, this also is geared to support TOML v1.1.0 which is the next release version. whereas we probably want to support TOML v1.0.0 which is the current release.

On another related note given we already have a few parsing libraries and will likely want to add more if we want to support more things like TOML or YAML it might make sense to implement a low level parsing library in the stdlib, this will have the benefits of standardizing the way we write parsers between utilities like json and url decoding currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant