Re: [Haskell-cafe] Binary Parsing

2009-03-11 Thread Denis Bueno
2009/3/11 Rick R : > I have basic beginning to a parser for the BSON spec: > http://www.mongodb.org/display/DOCS/BSON > It is basically a binary compressed form of JSON. > The usage model should be general, but I intend to read this data over TCP. [...] > I was wondering if there is a tool set that

[Haskell-cafe] Binary Parsing

2009-03-11 Thread Rick R
I have basic beginning to a parser for the BSON spec: http://www.mongodb.org/display/DOCS/BSON It is basically a binary compressed form of JSON. The usage model should be general, but I intend to read this data over TCP. Currently my system is quite inefficient, I convert leading bytes to Int then