Elixir has a canonical tree-sitter parser! https://github.com/elixir-lang/tree-sitter-elixir
This is the first 'official' tree-sitter parser for a PL I've seen.
miniblog.
Related Posts
@skybert@emacs.ch Difftastic has very little unsafe, just the FFI to tree-sitter libraries.
That said, I've actually seen safe Rust segfault in the past!
The next version of difftastic will support parsing CSS and JS syntax inside HTML! This makes a huge difference to HTML files.
This support for tree-sitter sub-parsers was contributed by Sesse :)
Difftastic 0.31 is released:
* Two new languages: Hacklang and SQL
* Updates to: C#, Dart, Elm, Gleam, Haskell, HCL, Java, JSON, OCaml, PHP, Python, Ruby, Scala and TypeScript
The tree-sitter parser maintainers have been busy!



