Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing parser.c #142

Closed
MrPrezident opened this issue Oct 26, 2023 · 1 comment
Closed

Missing parser.c #142

MrPrezident opened this issue Oct 26, 2023 · 1 comment

Comments

@MrPrezident
Copy link

This parser is broken for use with the python tree-sitter module (https://github.com/tree-sitter/py-tree-sitter) as it assumes that the parser has a parser.c. Looks like you've only implemented a scanner.c for some reason. Why do you not have a parser.c?

@rabbiveesh
Copy link
Collaborator

Hi, thanks for the ticket!

If you need the generated objects, use the release branch rather than master. We don't check in generated files b/c it makes switching branches a horror (I have contributed to other tree-sitter parsers, so the FIRST thing I did was fix up the release flow).

This is a known issue upstream (a whole section here and more particularly here)

I'm going to close this ticket b/c my answer is sufficient; I would not oppose a PR updating the README to clarify this point for downstream users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants