fsprojects / FSharp.Configuration

The FSharp.Configuration project contains type providers for the configuration of .NET projects.
http://fsprojects.github.io/FSharp.Configuration/
Other
114 stars 63 forks source link

Use a simpler YAML parser with no external dependencies #9

Closed forki closed 9 years ago

forki commented 10 years ago

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#.

forki commented 10 years ago

Who wants to help?

ptrelford commented 10 years ago

One option might be to start with FsYaml and convert the combinator based parser to a hand rolled parser using Active Patterns.

vasily-kirichenko commented 10 years ago

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.

ptrelford commented 10 years ago

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.

vasily-kirichenko commented 9 years ago

I'm closing this as neither I'm personally not going to do this nor anybody else.