MaibornWolff / metric-gardener

BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Add support for C #189

Closed ResistantBear closed 5 months ago

ResistantBear commented 6 months ago

Add support for the C programming language using tree-sitter-c

NOTE: As .h files might be used for C or C++, we should provide an option to explicitely state whether we should parse files as C or C++. Per default, we should parse .h files as C++, as C++ is (mostly) a superset of C. We should also consider that .C files (capital C) should default to C++ but .c files should default to C, just like gcc does. Currently, or file extension handling is not case sensitive.