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

Incrementally parse documents #5

Open
euclidianAce opened this issue Feb 23, 2021 · 1 comment
Open

Incrementally parse documents #5

euclidianAce opened this issue Feb 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@euclidianAce
Copy link
Member

At the very least we can incrementally update the token list without re-parsing the entire doc.
Whether this speedup is worth it, idk. We could bring in my ltreesitter module to do this, but then theres the issue of translating the cst that tree-sitter generates to an ast that tl understands, which might not be worth it.

We could get a real speedup if we could figure out a way to incrementally update the type checking environment instead of regenerating it each time

@euclidianAce euclidianAce added the enhancement New feature or request label Feb 23, 2021
@euclidianAce
Copy link
Member Author

With neovim master being able to get incremental updates I will try to implement this soon

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

1 participant