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

Cython tree-sitter #173

Open
milesgranger opened this issue Aug 22, 2022 · 4 comments
Open

Cython tree-sitter #173

milesgranger opened this issue Aug 22, 2022 · 4 comments
Labels

Comments

@milesgranger
Copy link

milesgranger commented Aug 22, 2022

Recently started using helix and I work quite a bit with cython.

For syntax highlighting with helix, it needs a tree-sitter for the given language. I understand this is for Python, but does anyone know if there is a tree-sitter for cython or how one would go about it?

@patrickt
Copy link
Contributor

patrickt commented Nov 3, 2022

A look around the ecosystem didn’t turn anything up. The only one I could find is on a user and repo that have since been deleted. Apologies.

@amaanq
Copy link
Member

amaanq commented Mar 22, 2023

I know this is old, but I'll likely write one soon :)

@johannes-mueller
Copy link

Any news on this one?

@b0o
Copy link

b0o commented Oct 17, 2024

Hey all, I've got an initial working implementation of a tree-sitter parser for Cython: https://github.com/b0o/tree-sitter-cython

Contributions are welcome to help improve parsing/tests/queries. Thanks to @amaanq for the bulk of the grammar.

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

No branches or pull requests

6 participants