4 ms·
this is a real CSV parser on PicoLisp which understand everything: https://bitbucket.org/mihailp/tankfeeder/src/default/csv.l https://bitbucket.org/mihailp/tank
by tankfeeder 9y ago
this is a real CSV parser on PicoLisp which understand everything:
https://bitbucket.org/mihailp/tankfeeder/src/default/csv.l https://bitbucket.org/mihailp/tankfeeder/src/default/csv.l
Real of 2017 parsing.
- burntsushi 9y agoI don't think so? That doesn't appear to support escaping quotes by doubling them (instead, it only supports the \" variety), but doubling quotes is the standard escaping mechanism for CSV data.
- jwilk 9y agoThe problem with CSV is that nothing is standard, not even the eponymous comma as separator. Seriously, stop using CSV.
- burntsushi 9y ago> The problem with CSV is that nothing is standard, not even the eponymous comma as separator. So? The parent claimed it understood everything. I was pointing out that it doesn't. There are plenty of CSV parsers out there that can pretty much handle anything you throw at them, and they work pretty well in practice. > Seriously, stop using CSV. I'm a consumer, not a producer. So I'll continue right on using it, thank you very much.