Draft PEP on RSON configuration file format

Kirill Simonov xi at gamma.dn.ua
Mon Mar 1 22:03:22 EST 2010


Patrick Maupin wrote:
> On Mon, Mar 1, 2010 at 8:02 PM, Kirill Simonov <xi at 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



More information about the Python-list mailing list