Re: yaml parser in C++
Kirill Simonov <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Jesse, > In case anyone might be interested, I wrote a YAML parser in C++, and > I put it on google code: > > http://code.google.com/p/yaml-cpp/ > > It's based on libyaml (I'm indebted to the idea of first scanning to > produce tokens of an LL(1) language, and then parsing), but it's not a > wrapper for it. It uses the STL, but depends on nothing more (no > boost, etc.), and I tried to make it feel STL-ish. In fact, I think > this might be the primary reason to use it, compared to, say, libyaml > (which is very good - don't get me wrong!). > > It should be pretty easy to attach to any project - I'm using Visual > Studio, but there's really nothing dependent on that, so you could > whip up a makefile for gcc pretty easily. > > Finally, regarding completeness: it's written for the 1.2 spec, and > barring any bugs (heh), it should implement it exactly, except: > > 1. Anchors/aliases are parsed, but not implemented in representation. > 2. Tags are a bit half-assed, mainly because I didn't need them. But I > think they mostly work. > > Let me know what you think! It's a great news :) Perhaps you could add a build file for CMake so that the project could be built easily on a non-Windows environment? I also wonder if yaml.org could be updated to add news items and links to the projects that were announced lately? Thanks, Kirill ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/