difftastic/vendor/tree-sitter-elixir
Wilfred Hughes 614c857b72 Merge commit 'f8a5c9ffd2650539aa3fd5a412e4d0568ad04bc8' 2021-09-06 15:31:21 +07:00
..
.github/workflows Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
bindings Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
out Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
playground Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
queries Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
scripts Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
src Merge commit 'f8a5c9ffd2650539aa3fd5a412e4d0568ad04bc8' 2021-09-06 15:31:21 +07:00
test Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
.gitignore Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
.tool-versions Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
Cargo.toml Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
LICENSE Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
Makefile Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
README.md Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
binding.gyp Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
grammar.js Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
package-lock.json Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
package.json Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00
references.md Add 'vendor/tree-sitter-elixir/' from commit '3442cfe6260a71940c548d6cccd64605d1b5ba48' 2021-09-06 14:49:31 +07:00

README.md

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

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