I'm beginning to think that perhaps we should consider integrating a more official YAML parser at some point. I can see this becoming more difficult than it should be to deal with, since currently there is no official spec being followed; i.e. we use a dumbed down parser of our own to parse the YAML. Things would be easier to deal with if we had a more complete parser that was known to support the full spec.
@brucewsinc You're really good at experimenting with things like this. If you get a chance to play with the Symfony components for YAML parsing, and you can find a way for us to pull this out and use it independently from the full framework; it would be a huge step in the right direction.
Of the ones I've seen so far, it appears that Symfony's got the most up-to-date YAML parser available for PHP.
I'm beginning to think that perhaps we should consider integrating a more official YAML parser at some point. I can see this becoming more difficult than it should be to deal with, since currently there is no official spec being followed; i.e. we use a dumbed down parser of our own to parse the YAML. Things would be easier to deal with if we had a more complete parser that was known to support the full spec.
Referencing: http://www.sitepoint.com/using-yaml-in-php-projects/ Referencing: http://yaml.org/spec/1.2/spec.html Referencing: http://symfony.com/doc/current/components/yaml/index.html
@brucewsinc You're really good at experimenting with things like this. If you get a chance to play with the Symfony components for YAML parsing, and you can find a way for us to pull this out and use it independently from the full framework; it would be a huge step in the right direction.
Of the ones I've seen so far, it appears that Symfony's got the most up-to-date YAML parser available for PHP.