Skip to content

SQLite grammar? #57

Open
Open

Description

@StevenACoffman

👋 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.

Activity

  1. smacker commented on Jan 10, 2022

    @smacker
    Owner

    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.c and sqlite/parser.h are automatically copied from https://github.com/dhcmrlchtdj/tree-sitter-sqlite by running bash 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.

  2. metalim commented on Aug 23, 2023

    @metalim

    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?

  3. Repository owner deleted a comment from Maaajjssj on Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址