Tbl
Vince's CSV Parser
Our great sponsors
Tbl | Vince's CSV Parser | |
---|---|---|
4 | 4 | |
13 | 824 | |
- | - | |
0.0 | 4.6 | |
over 1 year ago | 24 days ago | |
C++ | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Tbl
-
How can I prevent or remove the auto generated files from CMake, since I have a lot of sub directories and it is very messy. Thanks!
I use a set of scripts to automatically generate a /Build folder and generate the CMake projects and files inside that folder.
-
Turning CSV rows into a vector of maps, with column names as keys
If you'd like to see a small C++ CSV parser, you're welcome to take a look at my Tbl library, which does something similar to what you're asking. It's open source, so feel free to use it as a reference or starting point.
-
Building a game with localization in mind?
For text, spreadsheets are preferred, because that's what localization teams will want to work with. You can then export them to a CSV text file, and read them with something like this. Or, you can convert to JSON if you prefer. But I wouldn't author it in JSON.
-
A small CSV library
If you're interested, I've got a CSV reader I wrote a while ago, so you can see how I set up some unit tests using CMake. The two test libraries I mentioned both work very similarly, and are quite simple to use once you get the hang of it.
Vince's CSV Parser
-
CSV Parser
How does it compare to this https://github.com/vincentlaucsb/csv-parser
- Turning CSV rows into a vector of maps, with column names as keys
-
A tuple oriented C++ csv parser
csv-parser - 4.847 +- 0.197 [s]
What are some alternatives?
volbx - Graphical tool for data manipulation written in C++/Qt.
Fast C++ CSV Parser - fast-cpp-csv-parser
Nameof C++ - Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum
Rapidcsv - C++ CSV parser library
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
tree-sitter-html - HTML grammar for Tree-sitter
csv
nvParse - Fast, gpu-based CSV parser
lazycsv - A fast, lightweight and single-header C++ csv parser library
vroom - Fast reading of delimited files
ssp - C++ CSV parser
jsoncons - A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON