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

Checkout tree-sitter #31

Open
Anviking opened this issue Apr 20, 2016 · 1 comment
Open

Checkout tree-sitter #31

Anviking opened this issue Apr 20, 2016 · 1 comment

Comments

@Anviking
Copy link
Owner

Anviking commented Apr 20, 2016

Have barely looked at it, but it seems like tree-sitter/tree-sitter does everything I aimed for (and struggled with) when building Chromatism (Incremental parsing e.t.c).

Perhaps a swift wrapper could be possible.

Sadly grammars appear to require compiling though.

Adding this issue here as a personal reminder.

@Anviking Anviking changed the title Checkout tree-viewer Checkout tree-sitter Apr 20, 2016
@Anviking
Copy link
Owner Author

Anviking commented Jul 6, 2016

Have got tree-sitter up and running, and its really really fast. Could see myself incorporating here in the future. Language support is really limited and it seems really experimental (can only get c language) to work, so it cannot be a replacement for Chromatism yet.

Also while I'm at it, concerning the future of this library which has been floating in limbo for a while: I think it could have a niche in the middleground between performance and language support. As Chromatism is regex based, the grammars of js syntax highlighters should be convertible.

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

1 participant