Parsing CSV files

Shawn P. Garbett Shawn@Garbett.org
Tue, 29 Jul 2003 14:32:49 -0500


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 29 July 2003 01:40 pm, John Meacham wrote:
> Hey, I wrote a CSV parser too. seeing as how this seems like a common
> thing (having 3 independent implementations at least), perhaps it
> belongs in libraries somewhere? some area dedicated to useful little
> grammers would be handy. csv, c header files, .x (rpcgen), various
> preference file formats, etc...

What haskell needs is something along the lines of CPAN. Contributed module=
s=20
of various utility. Not part of the base libraries, but never-the-less usef=
ul=20
and maybe needed for your project.

I just poked around and got a copy of a "set" data type. Sure beats writing=
=20
one.

There are lot's of FFI's piling floating around as well.

So there's three major categories to start with, that code is already float=
ing=20
around for:

Parsers
Data Structures
=46FI

I'm sure there are several more, this was just off the top of my head.

Shawn
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iEYEARECAAYFAj8my+IACgkQDtpPjAQxZ6BJLACdHc2Kr1lTZ5FiY9HA1AN+cYq/
Z3cAn2Ejel+LogXRtCvzThUjrlN/uYhd
=3DVEX5
=2D----END PGP SIGNATURE-----