Re: [Haskell-cafe] parsec and bytestring; was: hxt memory useage

2008-01-25 Thread Johan Tibell
On Jan 24, 2008 10:34 PM, Matthew Pocock [EMAIL PROTECTED] wrote:
 Would a bytestring-backed implementation of parsec solve my problems? Is there
 such a beast out there?

I'm working on one as a part of another project. It's not incremental
and needs some optimizing (I've focused on correctness so far.) I
don't think it solves your problem though as you'll only save a
constant amount of memory by using ByteStrings over Strings and it may
not be enough. I also don't know how to integrate it with HXT. In case
you want to have a look anyway you can find it here:

http://darcs.johantibell.com/hyena/Hyena/ByteStringParser.hs

-- Johan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] parsec and bytestring; was: hxt memory useage

2008-01-24 Thread Matthew Pocock
Would a bytestring-backed implementation of parsec solve my problems? Is there 
such a beast out there?

Matthew
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] parsec and bytestring; was: hxt memory useage

2008-01-24 Thread Clifford Beshers
It well might.  I believe you can do this yourself.  Jeremy Shaw wrote a
parser for Debian control files, which was useless on the really large
package index files.  He switched it over to using bytestrings and that
solved the problem.  You can find the code in a darcs repository at:
http://src.seereason.com/haskell-debian.  It may reference other libraries
hosted at that URL, which you can browse from the base URL.


On Jan 24, 2008 1:34 PM, Matthew Pocock [EMAIL PROTECTED] wrote:

 Would a bytestring-backed implementation of parsec solve my problems? Is
 there
 such a beast out there?

 Matthew
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe