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

Switch to tree-sitter #149

Open
gcv opened this issue Mar 3, 2024 · 1 comment
Open

Switch to tree-sitter #149

gcv opened this issue Mar 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@gcv
Copy link
Owner

gcv commented Mar 3, 2024

By switching to tree-sitter, built into Emacs as of version 29, all the questions Snail asks of CSTParser can be answered without leaving Elisp. This will be a significant benefit, not only by eliminating a dependency on CSTParser and its potentially unstable API, but also because Julia startup time will improve.

In general, it'll be great to ditch all Julia-side dependencies for core Snail functionality and leave them to extensions.

@gcv gcv added the enhancement New feature or request label Mar 3, 2024
@gcv gcv mentioned this issue Mar 3, 2024
@MasonProtter
Copy link
Contributor

MasonProtter commented Aug 7, 2024

By the way, JuliaSyntax.jl is now bundled inside of modern versions of Julia (since 1.9, and the new LTS is going to be v1.10), so you could also just use JuliaSyntax.jl instead of TreeSitter, but if there's other benefits to TreeSitter then I guess we should go with that.

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

No branches or pull requests

2 participants