Tree-sitter based parser plugin
Aneesh Kumar <[email protected]> Mon, 20 Nov 2023 18:10:40 +0530
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CADGAMy=MCw+srHDH-23K5KuePwczOKxCY72RpSU2gYNxVwBgBQ@mail.gmail.com> |
--000000000000d633bf060a94cb46 Content-Type: text/plain; charset="UTF-8" I finished a tree-sitter based parser plugin which can be found here https://github.com/kvaneesh/tree-sitter-gtags-parser . For now, the project only supports C language. But other languages can be easily added by including queries for those. Language-specific queries can be found in the tree-sitter repo. Forex: cpp can be found here https://github.com/tree-sitter/tree-sitter-cpp/blob/master/queries/tags.scm -aneesh --000000000000d633bf060a94cb46 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I finished a tree-sitter based parser plugin which can be = found here<br><a href=3D"https://github.com/kvaneesh/tree-sitter-gtags-pars= er">https://github.com/kvaneesh/tree-sitter-gtags-parser</a> . For now, the= <div>project only supports C language. But other languages can be easily ad= ded</div><div>by including queries for those. Language-specific queries can= be found<br>in the tree-sitter repo. Forex: cpp can be found here <br><a h= ref=3D"https://github.com/tree-sitter/tree-sitter-cpp/blob/master/queries/t= ags.scm">https://github.com/tree-sitter/tree-sitter-cpp/blob/master/queries= /tags.scm</a><br></div><div><br></div><div>-aneesh</div></div> --000000000000d633bf060a94cb46--