[gambit-list] fast csv parser (libcsv wrapped for gambit)

Phil Dawes pdawes at users.sf.net
Sat Feb 10 03:26:50 EST 2007


Phil Bewig wrote:
 >
> Based on my very quick reading, it looks like libcsv doesn't allow 
> embedded newlines, doesn't handle odd end-of-line conventions, and hard 
> codes the comma as field separator.  Perhaps my code is slower because 
> it does all these things?
>  

Hi Phil,

I might be missing something, but I think it does everything except 
allow other field seperators. It also parses one character at a time.
See the 'parse_csv' c function in:
http://www.phildawes.net/2007/gambit-csv/0.1/csv.scm

Cheers,

Phil




More information about the Gambit-list mailing list