Re: Specifying an API for a straeming parser

2009-12-05 Thread Nobody
On Fri, 04 Dec 2009 13:51:15 -0800, tyler wrote: > Howdy folks, I'm working on a JSON Python module [1] and I'm struggling with > an appropriate syntax for dealing with incrementally parsing streams of data > as they come in (off a socket or file object). > > The underlying C-level parsing libra

Specifying an API for a straeming parser

2009-12-04 Thread tyler
Howdy folks, I'm working on a JSON Python module [1] and I'm struggling with an appropriate syntax for dealing with incrementally parsing streams of data as they come in (off a socket or file object). The underlying C-level parsing library that I'm using (Yajl [2]) already uses a callback system