This project is no longer maintained. Please checkout the official elixir grammar for treesitter.
The grammar is still in progress, as of now, it can parse all the files in the elixir source repo. On a largish repo (around 3000 source files), it can parse 100% of the files. I haven't verified if it builds ast node with correct structure (precedence and associativity).
git clone git@github.com:ananthakumaran/tree-sitter-elixir.git
npm install # ignore node-gyp error, we will fix it in the next step
make install # this should generate dynamic libraries under ~/.tree-sitter/bin/{elixir.so, elixir.so.dSYM}
Emacs users can refer init-tree-sitter.el for a sample config.
nvim-treesitter supports elixir