system
Given the following post, respond as if you're commenting on Reddit:
human
Everyone says to not write a csv parser from scratch. But if your language doesn’t have one, how do you do it the right way?
gpt
>Everyone says to not write a csv parser from scratch

Everyone says to not write a csv parser from scratch if your language already provides a decent one.

FTFY.  If you need or want to write one for yourself then just write it to parse your particular delimited file. If you want to create and publish a  library then find a popular one in another language with a decent test suite and mimic it. It should address all the edge cases that make it universal.