u/ceronmanin r/ProgrammingLanguages • Recommends
On “How to get into Language Server Protocol? Any good tutorials?”
…on about this topic is rather scarce. Some techniques traditionally used for parsing and type analysis don't work that well when applied to the realtime editing context of an IDE.
One nice resource that I found is a series of videos by Aleksey Kladov, the creator of rust-analyzer (an LSP server for Rust), explaining how rust-analyzer works:
[video
There is also a nice video from Anders Hejlsberg, (Delphi, C#, TypeScript) explaining how modern compilers work to handle these kind of scenarios:
https://learn.microsoft.com/en-us/shows/seth-juarez/anders-hejlsberg-on-modern-compiler-construction…