pocoproject / poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
https://pocoproject.org
Other
8.34k stars 2.15k forks source link

Support YAML-style configuration files in Util #1308

Open obiltschnig opened 8 years ago

obiltschnig commented 8 years ago

It would be nice to have support for YAML-style configuration files in the Util library. However, given the complexity of the YAML specification, only a minimal, reasonable subset of YAML will be implemented.

Specifically, only YAML constructs that can be mapped to the AbstractConfiguration data model will be supported. Details TBD.

baszczewski commented 8 years ago

I would like to ask whether we are making any progress here?

obiltschnig commented 8 years ago

No progress yet, unfortunately. I'd like to see that in 1.8, but I can't make any promises whether I'll find the time to do it. Contributions, anyone?

diegoferigo commented 7 years ago

+1

Cqspel commented 7 years ago

+1

uriy999 commented 6 years ago

+1

OneTop4458 commented 2 years ago

+1

obiltschnig commented 9 months ago

Since YAML is quite complex, using an existing C++ YAML implementation and bending it to our needs may be a good approach.

This one looks promising.

obiltschnig commented 5 days ago

This looks like a sane subset of YAML.

https://hitchdev.com/strictyaml/