News for hackers. Stuff that matters.
Re:How I Built Zig-SQLite by gpderetta on Friday May 27, 2022 @06:30AM (#31527957)
Isn't that's how most LSP servers are implemented? I'm only vaguely familiar with clangd.
Re:How I Built Zig-SQLite by ranfdev on Friday May 27, 2022 @07:20PM (#31536045)
Yes. An LSP has to work along with the compiler, or it has to become an alternative compiler.

For example, from the article "Why LSP?" [1]

"It is known that compilers are complicated, and a language server is a compiler and then some."

[1]: https://matklad.github.io//2022/04/25/why-lsp.html

Re:How I Built Zig-SQLite by carlhjerpe on Friday May 27, 2022 @08:37AM (#31528845)
It's moving in that direction, but far from all are based on their compiler still.