semitrivial/csv_parser
View on GitHub ↗ ★ 113 C
Simple CSV parser written in C
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2020-05-15 · latest 2024-04-11
20082026
-
…in CSV, so splitting a file into rows is actually ~1/3 the complexity of parsing a whole row. See: https://github.com/semitrivial/csv_parser/blob/master/split.... Though I suppose that's the naive approach. You could combine the two into a…
comment by xamuel · 2024-04-11 · in World's Smallest CSV Parser (C#) -
…(of which 657 are commentary). Mine, in C, is only 2807 characters (of which 198 are commentary): https://github.com/semitrivial/csv_parser/blob/master/csv.c Ahh, but the submission's main file is for parsing an entire .csv, whereas mine…
comment by xamuel · 2024-04-10 · in World's Smallest CSV Parser (C#) -
…I had removed my CSV library, which he was using in one of his projects! Here's the library, btw: https://github.com/semitrivial/csv_parser
comment by xamuel · 2020-05-15 · in So you want to write your own CSV code (2014)