Comma-separated-values parsing and writing


The csv vocabulary can read and write CSV (comma-separated-value) files.

Working with CSV files:
file>csv ( path encoding -- csv )

csv>file ( rows path encoding -- )


Working with CSV strings:
string>csv ( string -- csv )

csv>string ( csv -- string )


Changing the delimiter from a comma:
with-delimiter ( ch quot -- )


Reading from a stream:
read-csv ( -- rows )

read-row ( -- row )


Writing to a stream:
write-csv ( rows -- )

write-row ( row -- )