Him188 / yamlkt

Multiplatform YAML parser & serializer for kotlinx.serialization written in pure Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Help kaml to write a parser and improve instead of creating a yet another library

orchestr7 opened this issue · comments

🤦 🤦 🤦

charleskorn/kaml#232

image

Kaml wraps the SnakeYaml so its structure is limited. I can't write parsers based on that.

SnakeYaml

anyway you have proposed your own parser - move it to a separate module and kaml will reuse it, no? :)
kaml ONLY needs AST for this

I think a better approach to create a well-working multiplatform Yaml parser is to help yamlkt to implement other features. Moving part of the implemented code and reimplementing them again doesn't seem efficient.
Anyway, since yamlkt is licensed under Apache-2.0 license, you can do what you proposed if you have time.