News for hackers. Stuff that matters.
Re:Bash-LSP: A language server for Bash by kazinator on Thursday April 01, 2021 @04:50PM (#26665850)
But, look at this project.

They took a Bash parser written in C from the Tree-sitter project, and are using the C as a compiled WebAssembly blob out of TypeScript.

And, actually, that Tree-sitter Bash parser is specified or generated using JS somehow; the project for producing it uses TypeScript also.

That's how easy it is to write LSP server in any language?

Maybe it's done this way so that the LSP can be integrated right into the editor itself, so as not to have to run somewhere else as an external piece.

There are no comments on this comment yet.