YPath Support #21

Closed
trans opened this Issue Jun 27, 2011 · 1 comment

Projects

None yet

2 participants

@trans
trans commented Jun 27, 2011

I've started a new YAML schema project. For it to work it needs YPath, so it works with Syck but not Psych. Would it be possible to get YPath support for Psych in future? Thanks.

@tenderlove
Member

There were very few (if any) tests for this in Syck. Because of that, and because of the fact that the AST generated by libyaml differs from syck, it's impossible to implement YPath and have it be backwards compatible.

Psych does expose the YAML AST to you, so I think writing a ypath gem that uses Psych's AST would be worthwhile.

@tenderlove tenderlove closed this Aug 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment