yaml-cpp
yaml-cpp copied to clipboard
debugger visualization for MSVC, experimental yaml-path
Just to let you know, two things related to yaml-cpp (not really an "issue"):
MSVC debugger visualization file (.natvis) here: https://github.com/peterchen-cp/yaml-cpp-natvis
It significantly improves the display of YAML::Node in Visual Studio Debugger.
Feel free to include it in yaml-cpp. Might help your Windows users (they just need to include it in their msvc project).
yaml-path: I've toyed around a little with a path selector (simpler, but conceptually similar to XML XPath). It's only a first shot, but makes my life a little easier already. Take a look if you like, I'd be happy to hear comments.
Neat! If you want to open a PR to add the natvis in the /contrib folder, that'd be cool. The one thing that worries me is keeping it up to date - is there any way to write an automated test for it? Also, if you do submit a PR, can you write a little explanation on the main yaml-cpp page for how to use it?
Second: do you have a link to yaml-path?
yaml-path is here: https://github.com/peterchen-cp/yaml-cpp-path
With the memory management issues I ran into, I may have to make some changes on how I use sequences instead of vectors.
Cool! I've never used XPath, but I have used jq, which is amazing, and if I were to do something for YAML, I'd basically copy what jq did for JSON.
any news here? yaml-cpp-path is looking like a perfect fit for my use case.