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

Add support for Dart #24

Open
jayu opened this issue Aug 20, 2023 · 0 comments
Open

Add support for Dart #24

jayu opened this issue Aug 20, 2023 · 0 comments

Comments

@jayu
Copy link
Contributor

jayu commented Aug 20, 2023

As requested in #7 - support for Dart should be added to CodeQue.

It could be done by integrating tree-sitter-dart parser, but this parser has suboptimal grammar definition with ~3k lines of code, while JS grammar has ~1.2k lines of code.

This would impact the size of nodes mapping and WASM file and perhaps parsing speed.

It's worth doing a PoC on parser speed before investing time for integrating it with CodeQue.

Unfortunately looks like there are no other maintained Dart parsers that can be called from JS

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