On Friday, 22 January 2016 at 00:26:16 UTC, H. S. Teoh wrote:
On Thu, Jan 21, 2016 at 11:03:23PM +0000, cym13 via
Digitalmars-d-learn wrote:
[...]
Alright, I decided to take on the challenge to write a "real"
CSV parser... since it's a bit tedious to keep posting code in
the forum, I've pushed it to github instead:
https://github.com/quickfur/fastcsv
[...]
[...]
Fixed.
[...]
Fixed. Well, except the fact that I don't actually interpret
the doubled quotes, but leave it up to the caller to filter
them out at the application level.
[...]
Actually, this has already worked before. (Excepting the
untranslated
doubled quotes, of course.)
[...]
Fixed.
[...]
Actually, my code does *not* split by line then by separator.
Did you read it? ;-)
T
Great! Sorry for the separator thing, I didn't read your code
carefully. You still lack some things like comments and surely
more things that I don't know about but it's getting there. I
didn't think you'd go through the trouble of fixing those things
to be honnest, I'm impressed.