rhaiscript / lsp

Language server for Rhai.
Apache License 2.0
43 stars 4 forks source link

Scalable HIR architecture #37

Open tamasfe opened 2 years ago

tamasfe commented 2 years ago

The HIR currently uses a somewhat ad-hoc architecture for state representation. Right now no partial updates are possible without manual fiddling with internal state.

Maybe we should look at something like salsa (used by rust-analyzer) for partial updates and query caching, it should make our lives easier in the long term.