Patrick Maupin wrote:
On Mon, Mar 1, 2010 at 8:02 PM, Kirill Simonov <x...@gamma.dn.ua> wrote:

BTW, congratulations on slogging through the YAML grammar to generate
such a good working C library!

That must have been a tremendous effort.

The trick was to completely ignore the grammar described in the specification. In fact, the syntax of YAML is pretty close the Python syntax and, with some effort, the Python scanner and parser could be adapted to parsing YAML. Once I realized it, I got a working parser in a week or so.

Thanks,
Kirill
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to