Closed forki closed 9 years ago
Who wants to help?
One option might be to start with FsYaml and convert the combinator based parser to a hand rolled parser using Active Patterns.
No dependencies is great, but I don't like the opposite either - when FSharp.Data has its own hand written json parser, FSharp.Formatting - its own markdown parser and so on. It's not very healthy.
Agreed, it's good to use proven libraries, less NIH syndrome etc., on the outside YAML looks quite simple, but to support all features it is more involved. I guess the sweet spot would be if a short F# YAML parser implementation appears in the future we should consider merging it.
I'm closing this as neither I'm personally not going to do this nor anybody else.
At the moment we use https://github.com/xoofx/SharpYaml and there is https://github.com/bleis-tift/FsYaml which uses FParsec.
For this project I'd like to minimize the external dependencies and assume it should be "easy" to write a yaml parser in F#.