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

Port to kotlin multiplatform #25

Open
Wavesonics opened this issue Feb 18, 2023 · 2 comments
Open

Port to kotlin multiplatform #25

Wavesonics opened this issue Feb 18, 2023 · 2 comments

Comments

@Wavesonics
Copy link

Having a TOML 1.0 compatible library would be great for K/N

@valderman
Copy link
Owner

While it would be easy to make the parser and syntax tree manipulation multiplatform, conversion between the syntax tree and Kotlin types would be impossible without essentially reinventing that part of the library COMPLETELY. That conversion relies on reflection to work, and Kotlin support for reflection I basically nonexistent outside of JVM.

Would a library without that convenience still be useful? If people think so I wouldn't mind making the core multiplatform while keeping conversions for JVM only.

@Wavesonics
Copy link
Author

I personally think so. The ideal would be for it to support kotlinx serialization though.

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

No branches or pull requests

2 participants