tadasv / csv_parser

Callback based (SAX like) CSV Parser for C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

csv_parser Build Status

This library provides a CSV parser to be used in an event loop for processing large amounts of streaming data. The parser itself does not use any internal buffers. Whenever field value is available a user's specified callback will be invoked with field data and CSV location (row and column).

See examples for more information.

Building

Prerequisites:

  • gcc
  • libtool
  • autoconf
  • automake
  • check (to build tests)

To build and install:

$ sh autogen.sh
$ ./configure
$ make
$ make install

You can optionally build and run tests:

$ make test

About

Callback based (SAX like) CSV Parser for C

License:MIT License


Languages

Language:C 95.6%Language:Shell 4.4%