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

Replace the QueryEngine with Salsa #6229

Open
JoshuaBatty opened this issue Jul 5, 2024 · 0 comments
Open

Replace the QueryEngine with Salsa #6229

JoshuaBatty opened this issue Jul 5, 2024 · 0 comments
Labels
compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen

Comments

@JoshuaBatty
Copy link
Member

Salsa is a lot more sophisticated than the QueryEngine that we rely on. It could be a good first step to replace the existing query engine with Salsa. After this step is done, it should unlock progress for more granular caching at the AstNode level.

One of the reasons the QueryEngine was made in the first place was due to salsa being old and not maintained. This seems to have changed in the past 2 months and there is now a big push to stabilise and get a version 3.0 released. Once this is ready it could be a good time to investigate this.

@JoshuaBatty JoshuaBatty added the compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen label Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
Projects
None yet
Development

No branches or pull requests

1 participant