├── .clangd ├── .gitignore ├── CMakeLists.txt ├── Config.cmake.in ├── LICENSE ├── README.md ├── benchmark ├── README.md ├── cpp │ └── main.cpp ├── js │ ├── main.js │ ├── package-lock.json │ └── package.json ├── rust │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── main.rs └── sample.csv ├── parser.hpp └── test ├── .clangd ├── CMakeLists.txt ├── data ├── bom_empty.csv ├── bom_simple.csv ├── comma_in_quotes.csv ├── delimiter.csv ├── empty.csv ├── emptyUnquoted.csv ├── empty_crlf.csv ├── empty_file.csv ├── escaped_quotes.csv ├── json.csv ├── newlines.csv ├── newlines_crlf.csv ├── quote.csv ├── quotes_and_newlines.csv ├── simple.csv ├── simple_crlf.csv ├── terminator.csv └── utf8.csv └── parser_test.cpp /.clangd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/.clangd -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.o* 2 | node_modules 3 | target 4 | out 5 | .DS_Store 6 | -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /Config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include ( "${CMAKE_CURRENT_LIST_DIR}/AriaCsvParserTargets.cmake" ) 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/README.md -------------------------------------------------------------------------------- /benchmark/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/benchmark/README.md -------------------------------------------------------------------------------- /benchmark/cpp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/benchmark/cpp/main.cpp -------------------------------------------------------------------------------- /benchmark/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/benchmark/js/main.js -------------------------------------------------------------------------------- /benchmark/js/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/benchmark/js/package-lock.json -------------------------------------------------------------------------------- /benchmark/js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/benchmark/js/package.json -------------------------------------------------------------------------------- /benchmark/rust/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/benchmark/rust/Cargo.lock -------------------------------------------------------------------------------- /benchmark/rust/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/benchmark/rust/Cargo.toml -------------------------------------------------------------------------------- /benchmark/rust/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/benchmark/rust/src/main.rs -------------------------------------------------------------------------------- /benchmark/sample.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/benchmark/sample.csv -------------------------------------------------------------------------------- /parser.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/parser.hpp -------------------------------------------------------------------------------- /test/.clangd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/test/.clangd -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/data/bom_empty.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/bom_simple.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | -------------------------------------------------------------------------------- /test/data/comma_in_quotes.csv: -------------------------------------------------------------------------------- 1 | first,last,address,city,zip 2 | John,Doe,120 any st.,"Anytown, WW",08123 -------------------------------------------------------------------------------- /test/data/delimiter.csv: -------------------------------------------------------------------------------- 1 | a;b;c 2 | 1;2;3 3 | 4;5;, 4 | -------------------------------------------------------------------------------- /test/data/empty.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,"","" 3 | 2,3,4 -------------------------------------------------------------------------------- /test/data/emptyUnquoted.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,, 3 | 2,3,4 -------------------------------------------------------------------------------- /test/data/empty_crlf.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,"","" 3 | 2,3,4 -------------------------------------------------------------------------------- /test/data/empty_file.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/escaped_quotes.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/test/data/escaped_quotes.csv -------------------------------------------------------------------------------- /test/data/json.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/test/data/json.csv -------------------------------------------------------------------------------- /test/data/newlines.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | "Once upon 4 | a time",5,6 5 | 7,8,9 6 | -------------------------------------------------------------------------------- /test/data/newlines_crlf.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | "Once upon 4 | a time",5,6 5 | 7,8,9 6 | -------------------------------------------------------------------------------- /test/data/quote.csv: -------------------------------------------------------------------------------- 1 | '1, 2, 3','4, 5, 6',' 2 | 7 3 | 8 4 | 9' 5 | -------------------------------------------------------------------------------- /test/data/quotes_and_newlines.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/test/data/quotes_and_newlines.csv -------------------------------------------------------------------------------- /test/data/simple.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | -------------------------------------------------------------------------------- /test/data/simple_crlf.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | -------------------------------------------------------------------------------- /test/data/terminator.csv: -------------------------------------------------------------------------------- 1 | a,b,c;1,2,3;4,5,6 2 | -------------------------------------------------------------------------------- /test/data/utf8.csv: -------------------------------------------------------------------------------- 1 | a,b,c 2 | 1,2,3 3 | 4,5,ʤ -------------------------------------------------------------------------------- /test/parser_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AriaFallah/csv-parser/HEAD/test/parser_test.cpp --------------------------------------------------------------------------------