You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
👋 Hi,
This go binding is pretty great! I would love to be able to use this for SQL, specifically SQLite (and possibly PostgreSQL). I've found https://github.com/dhcmrlchtdj/tree-sitter-sqlite but that's in javascript, and I'm not really sure where to start gluing bits and pieces together.
Reacted by ignamartinoli, suntong and Bartłomiej Klimczak
so basically all parsers "integrated" into this package are just stolen from other packages, and there's no info on how they were generated? Do I understand this correctly?
Reacted by Lewin Kelly, smahs, Kot, SowmithK, Ahmed Ammar, bbrodriges, Eric Goodhall, Roeeeee, Danil Anisimov, deepakdinesh1123 and 3 more
Activity
smacker commentedon Jan 10, 2022
Hi @StevenACoffman !
I'm a bit reluctant to merge this grammar into master at this point, but here you can see how to integrate the grammar: #58
Files
sqlite/parser.candsqlite/parser.hare automatically copied from https://github.com/dhcmrlchtdj/tree-sitter-sqlite by runningbash vendor.sh download sqlite.Only a tiny binding.go file is required to be created manually.
You can publish it in your fork or in a separate package and import in your code from there. It doesn't have to be located in
smacker/go-tree-sitte.metalim commentedon Aug 23, 2023
so basically all parsers "integrated" into this package are just stolen from other packages, and there's no info on how they were generated? Do I understand this correctly?
refactor(gazelle): use local treesitter grammars (#5139)
refactor(gazelle): use local treesitter grammars (#5139)
refactor(gazelle): use local treesitter grammars (#5139)
refactor(gazelle): use local treesitter grammars (#5139)
refactor(gazelle): use local treesitter grammars (#5139)
refactor(gazelle): use local treesitter grammars (#5139)
refactor(gazelle): use local treesitter grammars (#5139)
refactor(gazelle): use local treesitter grammars (#5139)
refactor(gazelle): use local treesitter grammars (#5139)