Just another header-only C++17 CSV parser
Go to file
furfurylic b2684cc5cb
Merge pull request #18 from furfurylic/replace_if_skipped_inv_table
Re-adjust column widths of the table on replace_if_skipped::operator()
2024-08-26 18:26:38 +09:00
docs Re-adjust column widths of the table on replace_if_skipped::operator() 2024-08-25 10:42:47 +09:00
include/commata Make replace_if_skipped's ctor conditionally explicit 2024-08-23 19:43:43 +09:00
src_test Make replace_if_skipped's ctor conditionally explicit 2024-08-23 19:43:43 +09:00
.editorconfig Add an umbrella .editorconfig 2024-05-27 22:02:52 +09:00
.gitignore Make "build plus postfix" and .vscode directories ignored by git 2019-09-28 13:49:12 +09:00
.nojekyll Add .nojekyll for this site has no files to build with it 2021-06-06 13:41:51 +09:00
CMakeLists.txt Add COMMATA_ENABLE_FULL_EBO flag 2024-08-19 20:21:37 +09:00
CONTRIBUTING.md Add CONTRIBUTING.md 2024-05-14 18:34:15 +09:00
CommataPrimer.md Primer: s (plural) 2024-07-16 23:15:20 +09:00
LICENSE Initial commit 2017-03-24 15:01:44 +09:00
README.md Update GoogleTest to v1.15.0 2024-07-16 21:57:09 +09:00

README.md

Commata

Just another header-only C++17 CSV parser

For users

Commata's version numbers strictly comply to Semantic Versioning only since the major version one. With the major version zero, each pre-release version has been misapplied to indicate a bugfix release. So, for example, 0.2.4-bug1 came after 0.2.4, which is not an order that Semantic Versioning mandates.

For developers

Commata is written in C++17 and consists only of headers. All C++ codes in this repository shall compile and link with Microsoft Visual Studio 2019, 2022, GCC 7.3 and Clang 7.0.

This repository also contains a test of it in src_test directory. Tests are written on GoogleTest v1.15.0. Commata employs CMake 3.13 or later to make the test. You can build it as follows:

  1. At the top directory of the repository, prepare GoogleTest and the tests for Commata with CMake into build directory:

    $ cmake -S . -B build -DCOMMATA_BUILD_TESTS=ON
    

    You can also explicitly specify the geneator, the platform, the build type, and so on. For example:

    $ cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Debug -DCOMMATA_BUILD_TESTS=ON
    

    or

    $ cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -DCOMMATA_BUILD_TESTS=ON
    
  2. Now you can make and execute the tests. All you have to do should be cd build, cmake --build ., and then src_test/test_commata. Or, with Microsoft Visual Studio, open commata.sln in build directory, build test_commata project, and run it.