Sujet : Re: question about linker
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 05. Dec 2024, 00:29:04
Autres entêtes
Organisation : None to speak of
Message-ID : <87ikrz10zj.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Gnus/5.13 (Gnus v5.13)
scott@slp53.sl.home (Scott Lurndal) writes:
Bart <bc@freeuk.com> writes:
[...]
Do you use a formal grammar when parsing a CSV file, or something
equally trivial?
I wouldn't call CSV trivial, and yes, I'd want to have a precise
specification of the format in front of me if I wanted to implement
it. RFC 4180 seems to be the closest thing we have to a standard,
but it's not universally followed.
I don't parse csv files, there are dozens of tools already
available to perform that action for me with no need
to reinvent the wheel.
>
for example, cvstool comes with most linux distributions:
>
https://github.com/maroofi/csvtool
The csvtool that's available for most Linux distributions isn't
that one. It's another tool of the same name, implemented in OCaml,
with a completely different user interface. I don't know whether
they implement the same CSV specification.
https://github.com/Chris00/ocaml-csv-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */