News for hackers. Stuff that matters.
Re:Bash-LSP: A language server for Bash by jussij on Thursday April 01, 2021 @11:16PM (#26668738)
> The Tree-sitter parser for Bash itself somehow requires Typescript, though the parser is in C.

You can use tree-sitter to produce nothing more than C parser file that only depends on a very small tree-sitter C library.

So you can use tree-sitter to produce a parser that does not require Typescript.

However, there is whole other side to tree-sitter which is about filtering/manipulating/searching the AST results produced by that C parser and this layer has binding to many languages.

I suspect this Bash LSP project is using the tree-sitter Typescript bindings for their AST processing.

There are no comments on this comment yet.