Skip to content

New release for 0.16.x series? #98

@claytonrcarter

Description

@claytonrcarter

I know that this sort of backwards, but is there any chance we could beg for a release that is built against tree-sitter 0.16 (or any version w/ ABI version <=12)? I've been working on updating Atom's PHP grammar with tree-sitter support, but Atom currently only supports ABI <=12 (I think), and that limits me to using 0.16.2 of tree-sitter-php, which of course lacks all of the goodies that @cfroystad has been working on recently for #58.

There is a blocked PR to update Atom to tree-sitter 0.19, but it looks like it's gone a bit stale. While we wait for that, though, having a BC release against tree-sitter 0.16 would give me the tools to fill in much more of that grammar w/ arrow functions, nullsafe, union types, etc, making it more likely it could be considered for release.

For the record, on current master I was able to successfully downgrade tree-sitter-cli, regenerate and pass all tests:

$ npm i [email protected]

$ ./node_modules/.bin/tree-sitter generate

$ grep 'LANGUAGE_VERSION ' src/parser.c
#define LANGUAGE_VERSION 11

$ ./node_modules/.bin/tree-sitter test
# ... all tests passed

Thanks for at least considering this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions