Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

ananthakumaran/tree-sitter-elixir

Repository files navigation

This project is no longer maintained. Please checkout the official elixir grammar for treesitter.

Status

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).

Install

git clone [email protected]: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

Emacs users can refer init-tree-sitter.el for a sample config.

Vim

nvim-treesitter supports elixir