Add C++ grammar
| Author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 01:59:17 +0100 |
| Committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-22 01:59:17 +0100 |
| Commit | 4c3e1ce7822a9acd3444b954d0bdbccade603c38 (patch) |
|
-rw-r--r-- |
Makefile | 9 | |
-rw-r--r-- |
main.c | 6 | |
-rw-r--r-- |
queries/cpp.h | 37 | |
-rw-r--r-- |
queries/cpp.scm | 20 | |
-rw-r--r-- |
tests.sh | 7 | |
-rw-r--r-- |
tests/test.cpp | 32 | |
-rw-r--r-- |
vendor/tree-sitter-cpp/LICENSE | 21 | |
-rw-r--r-- |
vendor/tree-sitter-cpp/Makefile | 109 | |
-rw-r--r-- |
vendor/tree-sitter-cpp/src/grammar.json | 16769 | |
-rw-r--r-- |
vendor/tree-sitter-cpp/src/node-types.json | 7965 | |
-rw-r--r-- |
vendor/tree-sitter-cpp/src/parser.c | 609698 | |
-rw-r--r-- |
vendor/tree-sitter-cpp/src/scanner.c | 148 | |
-rw-r--r-- |
vendor/tree-sitter-cpp/src/tree_sitter/alloc.h | 54 | |
-rw-r--r-- |
vendor/tree-sitter-cpp/src/tree_sitter/array.h | 290 | |
-rw-r--r-- |
vendor/tree-sitter-cpp/src/tree_sitter/parser.h | 265 |
15 files changed, 635427 insertions, 3 deletions
Commit too large to display