4 ms·
> The Tree-sitter parser for Bash itself somehow requires Typescript, though the parser is in C. This is not necessarily true if you can write a compiler for a
by nonbirithm 6y ago
> The Tree-sitter parser for Bash itself somehow requires Typescript, though the parser is in C.
This is not necessarily true if you can write a compiler for a tree-sitter grammar that outputs the parser code in your favorite language. I know semgrep does this to make parsers for OCaml. But, of course, that's more work to be done.