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

add a TOML standard library to Julia #37034

Merged
merged 2 commits into from
Aug 26, 2020
Merged

add a TOML standard library to Julia #37034

merged 2 commits into from
Aug 26, 2020

Conversation

KristofferC
Copy link
Sponsor Member

@KristofferC KristofferC commented Aug 13, 2020

This adds a TOML standard library for parsing and writing TOML files. The source files currently reside in https://github.com/KristofferC/TOML.jl. The reason for this is that there is already a TOML repository in the JuliaLang organization which should probably be moved.

The current docs can be found at https://kristofferc.github.io/TOML.jl/dev/.

The parser part is the same as in #36018 (with the review comments applied).

After this is merged, we should move the parser part into Base and rebase #36018 on top of it.

Since the parser part is going to be in Base, it isn't clear to me whether all files for the stdlib should be in this repo or if it still makes sense to have a separate repo for e.g. issues.

cc @StefanKarpinski, @staticfloat

@KristofferC KristofferC added the stdlib Julia's standard library label Aug 13, 2020
@KristofferC KristofferC added this to the 1.6 milestone Aug 13, 2020
@staticfloat
Copy link
Sponsor Member

If it's going to have tight integration with code in Base (like the Artifacts stdlib will) I think it's better to have the code live here in the julia repository.

It looks like the windows tests are failing because it's trying to import JSON and can't?

@KristofferC
Copy link
Sponsor Member Author

Only as tight of an integration that code loading can actually use it. It's pretty nice to have all issues in one place. Hm.

@staticfloat
Copy link
Sponsor Member

I think stdlib tests don't get their extras targets populated. :(

@KristofferC
Copy link
Sponsor Member Author

Yeah, they don't run with Pkg.test.

@KristofferC KristofferC changed the title WIP: add a TOML standard library to Julia add a TOML standard library to Julia Aug 26, 2020
@staticfloat staticfloat merged commit 8a01917 into master Aug 26, 2020
@staticfloat staticfloat deleted the kc/toml_stdlib branch August 26, 2020 19:09
@KristofferC KristofferC added the needs news A NEWS entry is required for this change label Aug 26, 2020
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs news A NEWS entry is required for this change stdlib Julia's standard library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants