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.
[ Parent
| on HN ]
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."
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.